KindeK
Kinde10mo ago
10 replies
ninzamax

Frequent logouts

I am using kinde auth with nextjs and react,but for some reasons I keep getting logged out intermittently.
I can see the refresh tokens and access token setup properly in the cookies.
At some point the Kinde auth provider hits this api, api/auth/setup and its returns not logged in.
So I have to click on login again but authentication flow is not there, it will login me straight without email and passcode.
What could be the reasons for the intermittent sign outs , I am pretty sure I have set the id token , access token , refresh token for a 7 days , 30 days and 6 months.
Any help is appreciated! Thanks
Was this page helpful?