TeskaLabs / seacat-auth

SeaCat Auth provides authentication, authorization, identity management, session management and other access control features.
GNU General Public License v3.0
11 stars 6 forks source link

Delete client cookie on introspection failure #385

Closed byewokko closed 1 month ago

byewokko commented 1 month ago

Issue

When the client cookie introspection fails, the user is logged out completely because their SSO (root) cookie is deleted. When I log into one app and then navigate to another one that uses cookie introspection, my SSO cookie is deleted and I'm required to log in again.

Solution

Delete the client cookie instead of the SSO cookie so that a new cookie can be obtained via the authorization code flow without login if needed.