jazzband / django-oauth-toolkit

OAuth2 goodies for the Djangonauts!
https://django-oauth-toolkit.readthedocs.io
Other
3.06k stars 777 forks source link

Generate the Grant without using the AuthorisationView #1383

Open housUnus opened 6 months ago

housUnus commented 6 months ago

We are using DRF with react, so basically the backend is not accessible by the client, all backend calls are done via react, so there is no way to hit the authorize URL without DRF, the issue is when i request that URL from axios or Postman it gives me as a response the admin login despite the skip authorization is checked, is there a way to skip this authorization, or generate the Grant Code using a custom view where i'm already logged in and have access to user.