dj-jwt-auth 1.9.2__tar.gz → 1.9.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/PKG-INFO +1 -1
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/dj_jwt_auth.egg-info/PKG-INFO +1 -1
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/settings.py +1 -1
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/views.py +1 -1
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/setup.cfg +1 -1
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/MANIFEST.in +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/README.md +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/dj_jwt_auth.egg-info/SOURCES.txt +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/dj_jwt_auth.egg-info/dependency_links.txt +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/dj_jwt_auth.egg-info/requires.txt +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/dj_jwt_auth.egg-info/top_level.txt +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/__init__.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/config.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/exceptions.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/middleware.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/pkce.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/roles.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/templates/admin/login.html +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/templates/django-jwt-index.html +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/urls.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/user.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/django_jwt/utils.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/pyproject.toml +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/setup.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/tests/__init__.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/tests/models.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/tests/test.py +0 -0
- {dj_jwt_auth-1.9.2 → dj_jwt_auth-1.9.4}/tests/urls.py +0 -0
|
@@ -39,7 +39,7 @@ OIDC_USER_ON_UPDATE = getattr(
|
|
|
39
39
|
|
|
40
40
|
OIDC_CONFIG_ROUTES = getattr(settings, "OIDC_CONFIG_ROUTES", {})
|
|
41
41
|
OIDC_ADMIN_ISSUER = getattr(settings, "OIDC_ADMIN_ISSUER", None)
|
|
42
|
-
OIDC_ADMIN_CLIENT_ID = getattr(settings, "OIDC_ADMIN_CLIENT_ID", "
|
|
42
|
+
OIDC_ADMIN_CLIENT_ID = getattr(settings, "OIDC_ADMIN_CLIENT_ID", "gme-completeanatomy-admin")
|
|
43
43
|
OIDC_ADMIN_SCOPE = getattr(settings, "OIDC_ADMIN_SCOPE", "openid")
|
|
44
44
|
OIDC_ADMIN_ROLES = getattr(settings, "OIDC_ADMIN_ROLES", [])
|
|
45
45
|
OIDC_ADMIN_REDIRECT_URI = getattr(settings, "OIDC_ADMIN_REDIRECT_URI", None)
|
|
@@ -82,7 +82,7 @@ class CallbackView(View):
|
|
|
82
82
|
log.warning(f"OIDC No code or state in the request {request.GET}")
|
|
83
83
|
return self.fail(request, "No code or state in the request")
|
|
84
84
|
|
|
85
|
-
redirect_uri = request.build_absolute_uri(self.callback_view_name)
|
|
85
|
+
redirect_uri = request.build_absolute_uri(reverse(self.callback_view_name))
|
|
86
86
|
if state := cache.get(state):
|
|
87
87
|
token = get_access_token(code, redirect_uri, state, self.client_id)
|
|
88
88
|
self.payload = oidc_handler.decode_token(token)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|