Hi everybody! I have a question for the community… Is there a way to send the JWT to a spa and ejecute a kind of autologin, and login the user into de page via auth0 library?
My bassic example is login into a spa and get de jwt. Then open an incognit mode browser and login by using this jwt.
@ldibello welcome to the community!
It sounds like you might be interested in
silent auth - Some more context can be found in the following post:
It is described here.
In short, it sees if a valid access token is stored in memory, otherwise it requests a new one from the Auth0 server. There are some subtle differences on how it gets a new token depending on whether or not you are using refresh token rotation.
Unfortunately, incognito is designed to be an isolated browser session and thus this won’t work between a standard browser window and incognito.
Hope this helps!
To know If a user should be automatically logged in after reopening a new tab, closing window, etc. I read out the data of the localStorage and initiate the vueX store at the beginning with
Ok, but the problem resides on passing Access Token from app native to external browser, thats why I put the incognito browser example, because its something similar.
So I thinks its not gonna be possible by oauth2 standards.
Regards and thanks for our replies.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.