Skip to content

Clear the session cookie on logout from the GraphQL API #4328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented Apr 1, 2025

Since #4197 we show a 'session signed out' screen if we see a session cookie that has been finished.

This meant that you get the 'session ended' screen whenever you clicked 'sign out' within the frontend, which is quite weird.

This hacks things a little bit to make sure we clear the session cookie if we're logging out the current session

Copy link

cloudflare-workers-and-pages bot commented Apr 1, 2025

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 77b04ef
Status: ✅  Deploy successful!
Preview URL: https://362e0caa.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-clear-cookie-graphq.matrix-authentication-service-docs.pages.dev

View logs

@sandhose sandhose requested a review from reivilibre April 10, 2025 21:14
@sandhose sandhose merged commit 48843db into main Apr 14, 2025
21 checks passed
@sandhose sandhose deleted the quenting/clear-cookie-graphql branch April 14, 2025 13:52
@sandhose sandhose added A-Account-Management Related to self-service account management T-Defect Something isn't working labels Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Account-Management Related to self-service account management T-Defect Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants