Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you guys keep the users logged in? #450

Open
igornj opened this issue Apr 10, 2022 · 1 comment
Open

How do you guys keep the users logged in? #450

igornj opened this issue Apr 10, 2022 · 1 comment

Comments

@igornj
Copy link

igornj commented Apr 10, 2022

After creating the app, I'm trying to keep the user logged in until the 'expiresin' reaches the time. Do you guys save the accessToken on a localStorage? how to validate them? btw i'm using the Authorization code flow.

The first idea I've had was to only use a "code" generated in the auth url when I login

@singh-gyan
Copy link

I am calling the refreshacessToken before the token expires. To set the time interval I am using the expire time that we get with the accesstoken while logging in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants