UI + Spring Boot API (integrated with Auth0 Login)

Hi Team,

We are trying to create an UI separately which will be invoking Login API in our Spring Boot Application in which we have integrated the Auth0 dependencies.

From Login API we are redirecting to Auth0 login screen, once the user is logged in, it was redirected back to the API callback URL.

From this we need to redirect to UI home page along with the user JWT token which will be used further for accessing other APIs.

What would be the best possible solution to achieve this … Could you please suggest …