Hello,
I am using CAS to manage login in my application, with the following structure:
MainApp -> Main Application
App1 and App2 -> Secondary applications
App1 and App2 are configured so that the login is managed by MainApp. For login, everything works fine:
- If I login in MainApp,I'm logged automatically at the App1 and App2.
- If I login in App1 or App2, I'm logged automatically at MainApp and in other secondary application.
The problem is being when I logout.
- If I logout in App1, I'm logged out MainApp, but does not in App2.
- If I logout in App2, I'm logged out MainApp, but does not lin App1.
- If I logout in MainApp, I'm not logged out from both App1 or App2.
All I did was change the db.py, adding MainApp address the definition of the 'auth' as the CAS provider.
auth = Auth (db, cas_provider = 'address/MainApp/user/auth/cas')
There is some additional configuration to logout of the secondary applications also be automatic?
Thank you!