forked from jazzband/djangorestframework-simplejwt
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Integration with Django Ninja JWT #88
Comments
@robertvy During authentication, request object is passed. See here ->
|
@robertvy I will look into this more deeply to understand what the problem is |
eadwinCode
added a commit
that referenced
this issue
Aug 21, 2024
This should be resolved in next release. |
eadwinCode
added a commit
that referenced
this issue
Aug 21, 2024
* fixed authentication with request #88 * revert commented code
@eadwinCode I've just tested the new release in my codebase and things seem to be working with Django Axes now. Thanks for looking into this so quickly !! |
Awesome 😎 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm facing an issue where Django Ninja JWT does not pass the request object during authentication. This is problematic when integrating with Django Axes, as Axes requires the request object to function correctly. As a workaround, a custom backend can bypass this requirement, but it essentially disables Axes' protection, defeating its purpose.
Could Django Ninja JWT be updated to ensure that the request object is passed during authentication?
For reference, see the related issue in Django Axes: django-axes issue #984.
The text was updated successfully, but these errors were encountered: