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 getCurrentUser redirect error for localized languages #809

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

alanbixby
Copy link
Member

Accounts that do not use English as their language have the mobileapi/userinfo endpoint redirected to a localized path, i.e. https://www.roblox.com/fr/mobileapi/userinfo; this causes a HTTP 302 response code and thus throw an error for invalid cookie.

This change allows the redirect, fixing the setCookie and getCurrentUser without introducing a breaking change.

image

--

This change also fixes the linting errors for publishToTopic.js

@alanbixby alanbixby added patch Increment the patch version when merged release Create a release when this pr is merged labels Jun 8, 2024
@Regalijan Regalijan merged commit 1e0ba5d into noblox:master Jun 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants