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?