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

how to use with django rest framework token auth? #162

Open
fendyfy opened this issue Jul 12, 2020 · 1 comment
Open

how to use with django rest framework token auth? #162

fendyfy opened this issue Jul 12, 2020 · 1 comment

Comments

@fendyfy
Copy link

fendyfy commented Jul 12, 2020

How to use django defender with django rest framework token auth?
Its not getting failed attemps on token auth

@kencochrane
Copy link
Collaborator

I'm not sure, you would probably need to have a custom auth for DRF that plugs into defender.

Do you have it working for regular auth right now? Or are you trying DRF first?

Here is docs for how people used to do it with django-axes https://django-axes.readthedocs.io/en/latest/6_integration.html#integration-with-django-rest-framework if you find a working solution, let us know so we can update the docs.

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

2 participants