We have a SPA where the user goes to Auth0 hosted login page, enters email/password and on successful authentication he gets redirected to the SPA back.
The SPA checks for token and it’s validity along with session on Auth0 (using WebAuth.checkSession() method in Auth0 client library). This flow is working fine.
Now we want to authenticate the user from backend and get access-token using password grant and redirect him to the SPA - with access_token/id_token and other parameters.
The access_token validation passes here but the checkSession() fails.
Is there any way to set the user session on Auth0 manually??