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 know the auth state from token #1

Open
jcoble opened this issue Jun 28, 2022 · 0 comments
Open

How do you know the auth state from token #1

jcoble opened this issue Jun 28, 2022 · 0 comments

Comments

@jcoble
Copy link

jcoble commented Jun 28, 2022

Hi. I watched your yt video on auth and liked it all except how can you tell the actual validity of the users session just by the presence of an auth token. Especially sense it’s stored in a cookie if I’m not mistaken. The session could have been revoked, the token expired, etc. So shouldn’t that be refreshed especially on first page load to see if session is ACTUALLY valid? Seems that would work better w just rather than sessions since jet are more stateless. If I’m missing something please let me know. I wanted to implement what you did, but needed this answered for clarity first. Thanks for good yt video tho!

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

1 participant