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

I am getting a 401 Error (Unauthorized) and Uncaught (in promise) Error. Same is working fine on PostMan #257

Open
Madhu25666 opened this issue Nov 1, 2022 · 0 comments

Comments

@Madhu25666
Copy link

We seem to be getting a 401 error with the new django admin with drf social oauth2. But working fine on Postman **
We are getting a 401 Error (Unauthorized) when we pass the clientid and client_secret through browser. The same clientID and secret returns the tokens on PostMan.
error1
error2
error3
error4
error5

Go to Login page where the signin button is'
Click on 'Signin'
Scroll down to 'Console'
POST http://127.0.0.1:8000/auth/token/ 401 (Unauthorized) and Uncaught (in promise) Error: Request failed with status code 401
Expected behavior
An object with access and refresh token

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

No branches or pull requests

1 participant