question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

auth/token POST request --Invalid credentials given--

See original GitHub issue

Hey there! First of all thanks a lot you have done wonderful job! 🙏🏽 I’m running to en issue when I try to login through http://127.0.0.1:8000/auth/token I use the exact username and password, client id and secret are copied from admin panel Screen Shot 2021-06-23 at 15 36 34

For example http://127.0.0.1:8000/auth/convert-token works perfectly fine Screen Shot 2021-06-23 at 15 41 29

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Jrad84commented, Jan 18, 2022

I had this issue too and fixed it by changing my backend application Authorization Grant type to Resource owner password-based. When I used Authorization code it gave me the “invalid client” error response.

0reactions
wagnerdelimacommented, May 23, 2022

Nowhere in the documentation it suggests the grant_type to be password. Try replacing it by covert_token, instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OAuth2.0 token strange behaviour (Invalid Credentials 401)
Requests to Google APIs return Invalid Credentials (401) error. Refreshing the access token (using the stored refresh token) does not help. Here is...
Read more >
InvalidCredentials 105 on SOAP request though auth token is ...
InvalidCredentials 105 on SOAP request though auth token is successfully got. Hi. I am setting up a BingAds app on our server.
Read more >
Resolve API Gateway REST API 403 “Missing Authentication ...
API Gateway REST API endpoints return Missing Authentication Token errors for the following reasons: The API request is made to a method or ......
Read more >
Access Token Response - OAuth 2.0 Simplified
invalid_scope – For access token requests that include a scope (password or client_credentials grants), this error indicates an invalid scope ...
Read more >
Using OAuth 2.0 for Server to Server Applications | Authorization
Then, your application prepares to make authorized API calls by using the service account's credentials to request an access token from the OAuth...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found