K
Kinde2mo ago
OmarUsman

NextJS Kinde SDK not auto-refreshing tokens

I've wrapped my app inside of the authProvider component i've created following the docs, however tokens are not being refreshed as they should be.
No description
9 Replies
OmarUsman
OmarUsmanOP2mo ago
No description
OmarUsman
OmarUsmanOP2mo ago
These are my token expiry times i've currently set:
OmarUsman
OmarUsmanOP2mo ago
No description
OmarUsman
OmarUsmanOP2mo ago
After the 60 seconds I refresh the page and am logged out
Daniel_Kinde
Daniel_Kinde2mo ago
Let me mimic your setup and try this.
OmarUsman
OmarUsmanOP2mo ago
Hey @Daniel_Kinde, any update?
Daniel_Kinde
Daniel_Kinde2mo ago
Hi, this is with our engineer, I hope to have answer very soon to get this resolved.
OmarUsman
OmarUsmanOP3w ago
Hi @Daniel_Kinde, any update on this issue?
Ages
Ages4d ago
Hi @OmarUsman, Thank you for reaching out, it seems like the tokens in your NextJS Kinde SDK setup are not refreshing automatically, causing the user to be logged out after 60 seconds when the page is refreshed. I will attempt to replicate the issue on my end to better understand the root cause. I'll get back to you shortly with an update. Hi @OmarUsman To help investigate the auto logout issue, could you please provide the following details: - Could you confirm the version of the Next.js SDK you are currently using? - Could you share the callback URLs you’ve configured in your Kinde dashboard to ensure they match your application setup? These details will help us pinpoint the cause and assist you more effectively.
Want results from more Discord servers?
Add your server