Skip to content

Conversation

joshuata
Copy link
Contributor

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
Contributor 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.
Copy link
Member

@budak7273 budak7273 left a comment

Choose a reason for hiding this comment

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

I have GitHub auth set up for local smr-api testing on my machine and it seems to be working there.

@budak7273 budak7273 merged commit f964e41 into satisfactorymodding:staging Mar 30, 2025
5 of 6 checks passed
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Completed in Mod Repository (SMR) Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

Can't sign out
2 participants