keycloakauthenticator 4.0.0__tar.gz → 4.0.1__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.
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/PKG-INFO +15 -2
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator/_version.py +1 -1
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator/auth.py +4 -2
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator.egg-info/PKG-INFO +15 -2
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/MANIFEST.in +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/README.md +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator/__init__.py +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator/metrics.py +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator/tests/__init__.py +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator/tests/test_auth.py +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator.egg-info/SOURCES.txt +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator.egg-info/dependency_links.txt +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator.egg-info/not-zip-safe +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator.egg-info/requires.txt +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator.egg-info/top_level.txt +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/pyproject.toml +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/setup.cfg +0 -0
- {keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: keycloakauthenticator
|
3
|
-
Version: 4.0.
|
3
|
+
Version: 4.0.1
|
4
4
|
Summary: KeyCloakAuthenticator: Authenticate JupyterHub users with KeyCloak and OIDC
|
5
5
|
Home-page: https://github.com/swan-cern/jupyterhub-extensions
|
6
6
|
Author: SWAN Admins
|
@@ -15,6 +15,19 @@ Classifier: Intended Audience :: Science/Research
|
|
15
15
|
Classifier: Programming Language :: Python
|
16
16
|
Classifier: Programming Language :: Python :: 3
|
17
17
|
Description-Content-Type: text/markdown
|
18
|
+
Requires-Dist: jupyterhub
|
19
|
+
Requires-Dist: oauthenticator==16.1.0
|
20
|
+
Requires-Dist: PyJWT[crypto]>=2.0.0
|
21
|
+
Dynamic: author
|
22
|
+
Dynamic: classifier
|
23
|
+
Dynamic: description
|
24
|
+
Dynamic: description-content-type
|
25
|
+
Dynamic: home-page
|
26
|
+
Dynamic: keywords
|
27
|
+
Dynamic: license
|
28
|
+
Dynamic: platform
|
29
|
+
Dynamic: requires-dist
|
30
|
+
Dynamic: summary
|
18
31
|
|
19
32
|
# KeyCloakAuthenticator
|
20
33
|
|
@@ -165,7 +165,8 @@ class KeyCloakAuthenticator(GenericOAuthenticator):
|
|
165
165
|
end_session_url = data.get('end_session_endpoint')
|
166
166
|
if self.enable_logout and end_session_url:
|
167
167
|
if self.logout_redirect_url:
|
168
|
-
end_session_url += '?
|
168
|
+
end_session_url += '?post_logout_redirect_uri=%s' % self.logout_redirect_url
|
169
|
+
end_session_url += '&client_id=%s' % self.client_id
|
169
170
|
# Update parent class OAuthenticator.logout_redirect_url
|
170
171
|
self.logout_redirect_url = end_session_url
|
171
172
|
|
@@ -214,7 +215,8 @@ class KeyCloakAuthenticator(GenericOAuthenticator):
|
|
214
215
|
client_secret = self.client_secret,
|
215
216
|
subject_token = token,
|
216
217
|
audience = service_name,
|
217
|
-
requested_token_type = 'urn:ietf:params:oauth:token-type:access_token'
|
218
|
+
requested_token_type = 'urn:ietf:params:oauth:token-type:access_token',
|
219
|
+
subject_token_type = 'urn:ietf:params:oauth:token-type:access_token'
|
218
220
|
)
|
219
221
|
data = parse.urlencode(values)
|
220
222
|
|
{keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator.egg-info/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: keycloakauthenticator
|
3
|
-
Version: 4.0.
|
3
|
+
Version: 4.0.1
|
4
4
|
Summary: KeyCloakAuthenticator: Authenticate JupyterHub users with KeyCloak and OIDC
|
5
5
|
Home-page: https://github.com/swan-cern/jupyterhub-extensions
|
6
6
|
Author: SWAN Admins
|
@@ -15,6 +15,19 @@ Classifier: Intended Audience :: Science/Research
|
|
15
15
|
Classifier: Programming Language :: Python
|
16
16
|
Classifier: Programming Language :: Python :: 3
|
17
17
|
Description-Content-Type: text/markdown
|
18
|
+
Requires-Dist: jupyterhub
|
19
|
+
Requires-Dist: oauthenticator==16.1.0
|
20
|
+
Requires-Dist: PyJWT[crypto]>=2.0.0
|
21
|
+
Dynamic: author
|
22
|
+
Dynamic: classifier
|
23
|
+
Dynamic: description
|
24
|
+
Dynamic: description-content-type
|
25
|
+
Dynamic: home-page
|
26
|
+
Dynamic: keywords
|
27
|
+
Dynamic: license
|
28
|
+
Dynamic: platform
|
29
|
+
Dynamic: requires-dist
|
30
|
+
Dynamic: summary
|
18
31
|
|
19
32
|
# KeyCloakAuthenticator
|
20
33
|
|
File without changes
|
File without changes
|
{keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator/__init__.py
RENAMED
File without changes
|
{keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator/metrics.py
RENAMED
File without changes
|
{keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator/tests/__init__.py
RENAMED
File without changes
|
{keycloakauthenticator-4.0.0 → keycloakauthenticator-4.0.1}/keycloakauthenticator/tests/test_auth.py
RENAMED
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
|