-
Notifications
You must be signed in to change notification settings - Fork 280
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
Stale auth after succesful sign-in #4143
Comments
Hey can i get assigned? |
@joelbqz I am not able to replicate. Following the steps you mention, logging in with google, I am properly logged in and see the |
hey I just realized that issue happened only if these vars were not set
|
Thanks for sharing this. I'm also using
edit: using "next": "15.0.3", and "@clerk/nextjs": "^6.3.1", turbopack for nextjs |
@joelbqz hey I was doing a custom onboarding and after following this tutorial https://clerk.com/docs/guides/add-onboarding-flow#add-custom-claims-to-your-session-token (the tutorial by itself didn't work) I've found on that same toturial some links to a github repo and there I've found this line: In my case I was having some issue with UserProfile from clerk not rendered on onboardingPage because of the error you mentioned. But now I'm conditionally rendering UserProfile using isLoaded prop and no wI don't need to refresh. I know its ugly but this issue may be related with redirections/rehydratation |
Preliminary Checks
I have reviewed the documentation: https://clerk.com/docs
I have searched for existing issues: https://github.com/clerk/javascript/issues
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
https://github.com/clerk/clerk-nextjs-demo-app-router
Publishable key
pk_test_aW5zcGlyZWQtbXVkZmlzaC02MC5jbGVyay5hY2NvdW50cy5kZXYk
Description
Repro steps:
Environment
The text was updated successfully, but these errors were encountered: