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

fix: persist jwt expires by cookie #2509

Merged
merged 1 commit into from Nov 13, 2023
Merged

Conversation

athurg
Copy link
Contributor

@athurg athurg commented Nov 13, 2023

We have add a feature in #2402 to support persist the authorized status, but it still break on the cookie's expire. This PR just fixed that.

Because of cookie is not support to set as never expire, we set a 100 years duration as a walk around for that.

@athurg athurg added bug Something isn't working backend labels Nov 13, 2023
@athurg athurg self-assigned this Nov 13, 2023
@athurg athurg requested a review from boojack as a code owner November 13, 2023 03:04
@boojack boojack changed the title fix: pesist jwt expires by cookie fix: persist jwt expires by cookie Nov 13, 2023
@boojack boojack merged commit 52fdf8b into main Nov 13, 2023
5 checks passed
@boojack boojack deleted the fix/persist_jwt_expires_by_cookie branch November 13, 2023 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants