How to Enforce Full Logout When Using Cloudron Proxy Auth (Next.js Custom App)
-
I'm using a custom Next.js app deployed on Cloudron and leveraging Cloudron's proxy auth for authentication. The challenge I'm facing is that when users log out of my app, they are not fully logged out of the Cloudron SSO session. As a result, they can get automatically logged back in without re-entering credentials because the Cloudron dashboard session is still active.
I tried to find a global logout endpoint for Cloudron to fully end the session but didn't have success with it. I'm looking for guidance on whether there's a proper Cloudron-supported way to handle a full logout (so that users really have to log in again) or if there's a recommended way to configure session timeouts or customize the login flow to avoid automatic re-logins.
-
This is a custom app based I am packaging on react-admin. I am currently just redirecting the user to
{app}/logouton clicking logout. Any way to enable it for just the custom app?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login