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

Prevent caching the /me request #233

Merged
merged 2 commits into from
Jan 11, 2021
Merged

Prevent caching the /me request #233

merged 2 commits into from
Jan 11, 2021

Conversation

adamjmcgrath
Copy link
Contributor

Use the no-store Cache-Control directive to prevent any caching of the /api/auth/me url

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control#preventing_caching

@adamjmcgrath adamjmcgrath requested a review from a team as a code owner January 11, 2021 10:37
@vercel
Copy link

vercel bot commented Jan 11, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/auth0/nextjs-auth0/4era1as0c
✅ Preview: Canceled

[Deployment for 0d16d03 canceled]

@adamjmcgrath adamjmcgrath merged commit 7457fd6 into beta Jan 11, 2021
@adamjmcgrath adamjmcgrath deleted the cache-control branch January 11, 2021 12:17
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.

2 participants