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.
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
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.
![error5](https://user-images.githubusercontent.com/20838739/199167577-db2d759c-e10d-4da1-89a1-50066c6b064a.PNG)
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