You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. When users log out from Microsoft, Entra ID sends a GET request to this URL
182
-
3. ContextForge clears the session cookie and returns HTTP 200
181
+
2.**How it works**: The `/admin/logout` endpoint supports three scenarios:
182
+
-**OIDC front-channel logout**: When users log out from Microsoft Entra ID, it sends a GET request without browser headers. ContextForge clears the session and returns HTTP 200 (per OpenID Connect Front-Channel Logout 1.0 spec).
183
+
-**Browser navigation**: If a user navigates directly to `/admin/logout` in their browser (GET with `Accept: text/html` header), they are redirected to the login page.
184
+
-**User-initiated logout**: POST requests from the Admin UI logout button redirect to the login page after clearing the session.
185
+
186
+
3. All three scenarios properly clear authentication cookies and SSO session state.
0 commit comments