I have download the sample app for .net core 3.
and created a tenant for it, to test this in isolation.
When the user logs in and then closes the browser. No matter how long i wait, he never logs out. Or at least it appears that way.
I have just run the app after maybe 12 hours and the user is still logged in.
How can i prevent this happening.
I have tried adjusting the session time out by adding the following code:
Thanks i tried the setting in the Tenant. It appears to do what i wanted. Strange though as the description says that it will time out after N minutes of inactivity. But it only works for me if i already closed the browser.
If i set it to one min, and just wait with the browser open it does NOT time out. Only if i close it first then wait 1 min. Strange. But still does what i need, so i am happy.
This is a heads-up that we’re hosting an Ask Me Anything (AMA) session dedicated to Auth0 sessions, refresh tokens, and the Management API. Our product experts will be on hand February 12, 2025, from 8 AM to 10 AM PST to answer all your questions—no matter how basic or advanced they may be! You can submit your queries anytime from now until February 11, and we’ll provide detailed written answers during the live event.
This is a fantastic opportunity to learn best practices around session management, refresh token rotation, and the Management API. Plus, everyone who participates gets points and a special badge just for joining in on the fun.
If you have any burning questions (or even casual curiosities!), feel free to drop them in this thread. We can’t wait to see what you’re working on and how we can help you optimize your Auth0 setup. See you there!