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

Axes Authentication backend #112

Open
samaneh-kamalian opened this issue May 22, 2022 · 2 comments
Open

Axes Authentication backend #112

samaneh-kamalian opened this issue May 22, 2022 · 2 comments

Comments

@samaneh-kamalian
Copy link

I use Axes as authentication backend, but when set AXES_FAILURE_LIMIT ==2 in first login attempt the obtain-jwt-token return
403, while it must return 400 and if I call obtain-jwt-token again, it must return 403.
I do not have this problem with https://github.com/jpadilla/django-rest-framework-jwt !

@samaneh-kamalian
Copy link
Author

Could anyone answer my question? I really stopped on it! :(

@pinguin999
Copy link

Hi, do you got the login working with AXES?
The AXES docs says TokenAuthentication is not supported at the moment.
https://django-axes.readthedocs.io/en/latest/6_integration.html#integration-with-django-rest-framework

Also maybe your two = here: AXES_FAILURE_LIMIT ==2 are a problem?

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