You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using REST API for user login. Now want to add two factor authentication to my existing Login api.
In django-two-factor-auth there are views provided by default, and I want to customize them according to my API response.
The text was updated successfully, but these errors were encountered:
I was able to integrate with DRF, using token authentication.
There are several caveats, but it is possible.
I needed to create a custom auth class, create a custom permission class, change the login view and create the setup and 2FA verification, refresh and backup tokens listing views.
I am currently using REST API for user login. Now want to add two factor authentication to my existing Login api.
In django-two-factor-auth there are views provided by default, and I want to customize them according to my API response.
The text was updated successfully, but these errors were encountered: