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

Persistent login? #4

Open
Xzandro opened this issue Apr 24, 2023 · 0 comments
Open

Persistent login? #4

Xzandro opened this issue Apr 24, 2023 · 0 comments

Comments

@Xzandro
Copy link

Xzandro commented Apr 24, 2023

Hey, thank you for your work! Cookie based login definitely improves this whole process.

I have a question: I do see, that you increase the lifetime of the session cookie every time a request comes through (except for the logout endpoint), but wouldn't that still mean, that the jwt token would be invalid at some point? I think the default is 30 days and since this will not be renewed, would it mean, that the user would be forcefully logged out after 30 days at the latest, even if they do constant requests?

Is this by design or was there just no easy solution? Would be really interested in that. Thank you in advance for answering!

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