About 20 results
Open links in new tab
  1. self.request.user returning AnonymousUser · Issue #562 ...

    Apr 23, 2022 · I'm able to get the User object in the View but not in the middleware. The Authorization header is present (well, obviously because I can get the User object at later state).

  2. The translation of the message "No active account found with ...

    Apr 15, 2024 · When sending requests to the "auth/jwt/create" endpoint, the message "No active account found with the given credentials" is not translated:

  3. On refresh I think the user is not checked again ... - GitHub

    One of the main issues of -jwt is also an issue in this package, namely that request.user is undefined in the Django middleware when authenticating using jwt, see GetBlimp/django-rest-framework-jwt#45, …

  4. On token refresh, re-encode access token with get_token #595

    I am serializing this, so that I can then use my middleware to restrict authenticated calls to /int:client_id urls, by decoding the given token and seeing if it matches the client_id from the incoming request.

  5. Axes messages · Issue #124 · jazzband/djangorestframework ...

    Go to django-axes, find their middleware, and see what attributes they're setting on the request object using the AxesProxy. Then in your inherited serializer, check for that attribute.

  6. Circular import · Issue #434 · jazzband/djangorestframework ...

    Jul 14, 2021 · "django.contrib.messages.middleware.MessageMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", ] SIMPLE_JWT = { …

  7. simplejwt token work for all tenants for django-tenants #758

    Oct 18, 2023 · So, I added jwt_secret_key into my model and I got this field in Middleware and tried to set SIGNING_KEY for jwt. But still, jwt after user login can be used for all tenants.