OAuth authentication failed with Bad Request
See original GitHub issueHi! Whenever I try to login to my account via Osu!Lazer, it immediately fails without any error message. The password field simply gets emptied. I can log into the website without any problem.
By looking at the log files, it seems that the OAuth resource owner password flow is failing. The error message is unfortunately very generic.
Request to https://osu.ppy.sh/oauth/token failed with System.Net.WebException: BadRequest.
Response was: {"error":"The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."}
Here are all the log files available.
database.log network.log performance.log runtime.log updater.log
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Get Access Token Bad Request Exception for OAuth With ...
I can get the code but when get access token by code, it throws error 400. I have follow the steps of /api/rest/authorization/use-authorization-code.html....
Read more >Error: Bad Request when trying to authenticate user
I have checked my Dashboard settings and it is correctly set to Single Page Application and None for Token Endpoint Authentication Method. Could ......
Read more >Oauth 2.0 token received but 400 Bad Request from GET
Tested this endpoint with a temp admin generated JWT token and it worked. · Tried regenerating keys, tokens, etc. · Scoped admin privileges ......
Read more >OAuth 2.0 Authorization Errors
Errors can occur during OAuth authorization. For example, a user denies access to the connected app or request parameters are incorrect. When errors...
Read more >OAuth authentication issue with authWithOAuth2(): Bad ...
When implementing authentication with the GitHub provider, I receive a "Bad Request" error message ( POST http://127.0.0.1:8090/api/collections/ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, that is being tracked in https://github.com/ppy/osu/issues/4086. Closing as resolved.
Woah I missed it, sorry @Joehuu
Guess I should have search for more keywords than just “oauth” 👍