Skip to content

Conversation

Manas-Kenge
Copy link
Contributor

Fixes #6329

Add a sign out button in customer portal to log out customers

image

Copy link

vercel bot commented Sep 13, 2025

@Manas-Kenge is attempting to deploy a commit to the polar-sh Team on Vercel.

A member of the Team first needs to authorize it.

@rishi-raj-jain
Copy link
Member

@Manas-Kenge

Can you share a working video of this in your local setup?

@Manas-Kenge
Copy link
Contributor Author

Screencast.from.2025-09-14.10-43-09.webm

Here is the video, we can probably add a confirmation dialog for sign out.

Copy link
Member

@frankie567 frankie567 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Manas-Kenge, that's interesting!

The main issue for me here is that we just "forget" the token by removing it from the URL, but we actually don't revoke it in the backend. I already foresee the "security reports" we'll get because of this.

Can I ask you to add an endpoint in the backend so we can truly remove the session from the database?

@Manas-Kenge
Copy link
Contributor Author

Sounds good 👍 I’ll give it a shot when I get some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Customer Portal: Ability to log out from the customer portal
3 participants