Skip to content

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

Open
@Madhu25666

Description

@Madhu25666

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions