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

Update stateful session cookie expiry on set #1115

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

aovens-quantifi
Copy link
Contributor

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • [N/A] I have added documentation for all new/changed functionality (or N/A)

📋 Changes

Currently stateful session cookies are not being updated on server interaction. The session expiry is being extended (according the the exp being sent to the session store) but without updating the cookie, this change is not having any effect. When the cookie expires, the session is lost.

📎 References

🎯 Testing

Implement a stateful session store. Open the Application tab in Chrome dev tools and find the session cookie. Refresh the page. Confirm that the cookie expiry increased in line with header.exp in the stored data

@aovens-quantifi aovens-quantifi requested a review from a team as a code owner March 16, 2023 15:57
@vercel
Copy link

vercel bot commented Mar 16, 2023

@aovens-quantifi is attempting to deploy a commit to the Auth0 Team on Vercel.

A member of the Team first needs to authorize it.

@aovens-quantifi aovens-quantifi changed the title Update stateful session cookie expiry in line on set Update stateful session cookie expiry on set Mar 16, 2023
@adamjmcgrath
Copy link
Contributor

Thanks for submitting a PR @aovens-quantifi - great catch! I'll take a look at this first thing tomorrow morning and get back to you

@adamjmcgrath adamjmcgrath merged commit 12e979c into auth0:main Mar 17, 2023
@adamjmcgrath adamjmcgrath mentioned this pull request Mar 17, 2023
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

Successfully merging this pull request may close these issues.

3 participants