Skip to content
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

fix(auth): can't sign out #209

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

joshuata
Copy link

Fixes #131. Explicitly setting the cookie hostname was causing
cookie.remove to fail.

I cannot fully test this fix since I cannot test oauth on my machine,
but I haven't changed any logic so it should be a quick validation.

Copy link

vercel bot commented Nov 15, 2024

@joshuata is attempting to deploy a commit to the satisfactorymodding Team on Vercel.

A member of the Team first needs to authorize it.

@joshuata
Copy link
Author

joshuata commented Nov 16, 2024

I may have been incorrect removing the explicit domain specifier. Although they look the same in developer tools, you need to set the domain to pass the cookies to subdomains. I'll quickly patch this.

Update: fixed. This should be ready to go

Fixes satisfactorymodding#131. Explicitly setting the cookie hostname was causing
cookie.remove to fail.

I cannot fully test this fix since I cannot test oauth on my machine,
but I haven't changed any logic so it should be a quick validation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

Can't sign out
1 participant