K
Kinde2mo ago
Joshkop

Loosing session after reload

Im using nextjs with trpc and since yesterday im having the problem that i loose the session when i reload the page. Using login again instantly gives me back the session I've allready updated to kinde-auth-nextjs 2.3.6 Also idk if that is related: The Session Cookies expiry date are all 2 days in the past
3 Replies
Joshkop
Joshkop2mo ago
I have an old build running on another subdomain and there everything seems to work fine. I also dont loose the auth cookies there after refresh, even though their expiry date is also 2 days ago The other different thing is: The call to /auth/setup includes the cookies in the functioning site but not in the broken one
Oli - Kinde
Oli - Kinde2mo ago
Hey @Joshkop, This sounds like an odd issue. Are you able to raise a 'GitHub issue' on the NextJS SDK GitHub repo. Once you have posted a GitHub issue there, my NextJS expert team mate will look into your issue.
Joshkop
Joshkop2mo ago
Yeah pretty weird especially the cookies expiry date Will create an issue once I'm back home then
Want results from more Discord servers?
Add your server