I am trying to use the auth0-lock SDK and I understand that without leaving the SPA where the “popup” shows for login/signup, I can use the
.on("authenticated") event after the redirection, but I want a full redirect, leaving my SPA, hence specifying the option auth.redirectUrl. Once I am redirected with search params
state, how do I handle the authentication on the client? Where do I handle code and state to get an access_token? Is this possible at all?