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

Support "Legacy Authentication" Setting Failure Response #223

Closed
AdrianJSClark opened this issue Sep 14, 2024 · 0 comments · Fixed by #227
Closed

Support "Legacy Authentication" Setting Failure Response #223

AdrianJSClark opened this issue Sep 14, 2024 · 0 comments · Fixed by #227
Assignees

Comments

@AdrianJSClark
Copy link
Owner

Once iRacing rolls out two factor authentication (2FA), which is currently due to happen the week of 30 Sep 2024 to 4 Oct 2024, authentication to the /auth endpoint will fail unless the user account has enabled the "Legacy Authentication" option in their account settings.

The failure will be an HTTP 401 response with the following content:

{"error": "access_denied", "error_description": "legacy authorization refused"}

Support this response, log the reason authentication failed, and throw an appropriate exception.

@AdrianJSClark AdrianJSClark self-assigned this Sep 29, 2024
@AdrianJSClark AdrianJSClark linked a pull request Sep 29, 2024 that will close this issue
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 a pull request may close this issue.

1 participant