keycloakauthenticator 4.0.1__py3-none-any.whl → 4.0.2__py3-none-any.whl

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.
@@ -1,3 +1,3 @@
1
1
  # please don't modify this file,
2
2
  # this is automatically updated by bump2version
3
- __version__ = '4.0.1'
3
+ __version__ = '4.0.2'
@@ -299,6 +299,7 @@ class KeyCloakAuthenticator(GenericOAuthenticator):
299
299
  try:
300
300
  decoded_token = self._decode_token(user['auth_state']['access_token'])
301
301
  user_roles = self.claim_roles_key(self, decoded_token)
302
+ user['auth_state']['roles'] = list(user_roles)
302
303
  except:
303
304
  self.log.error("Unable to retrieve the roles, denying access.", exc_info=True)
304
305
  return None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: keycloakauthenticator
3
- Version: 4.0.1
3
+ Version: 4.0.2
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
@@ -0,0 +1,10 @@
1
+ keycloakauthenticator/__init__.py,sha256=hHydayGklWVj5SURcFLROkqdBK21-hBSlmhMAghv0-I,54
2
+ keycloakauthenticator/_version.py,sha256=F9vg2V8DHHPpOQEmjR1O5uoRtU8Kh1GNqDMIKm9FMYw,102
3
+ keycloakauthenticator/auth.py,sha256=kaGi6A01zLmRxRiVwza0sRTgFCKR7RZ9rBsg8hpLCPo,16233
4
+ keycloakauthenticator/metrics.py,sha256=5h0YDVSeuqUx1AmLfT9CHLJCs9RtUyE-Al-U9Ivlk_0,2196
5
+ keycloakauthenticator/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ keycloakauthenticator/tests/test_auth.py,sha256=sZ50G45Tz802E1Rg2na4WR_CKIBEjrQKR0U-yP6HHms,6090
7
+ keycloakauthenticator-4.0.2.dist-info/METADATA,sha256=JueI4a5sRihAaNu_p66L-tSpOP52LvStk3Mv2X-cafo,4704
8
+ keycloakauthenticator-4.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ keycloakauthenticator-4.0.2.dist-info/top_level.txt,sha256=_V3-kbMt9tmLLiHdVQS2GAa7OfwqeG1aWLQEeJvGX5E,22
10
+ keycloakauthenticator-4.0.2.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- keycloakauthenticator/__init__.py,sha256=hHydayGklWVj5SURcFLROkqdBK21-hBSlmhMAghv0-I,54
2
- keycloakauthenticator/_version.py,sha256=4M6epHgkltzwxM8Z_6WJW4TohoMxfX8SR6Hzd72aBHA,102
3
- keycloakauthenticator/auth.py,sha256=QFXr3-E3plwrgh8rIEU6DF2kSoUEoskCloFG_JTQJ2w,16169
4
- keycloakauthenticator/metrics.py,sha256=5h0YDVSeuqUx1AmLfT9CHLJCs9RtUyE-Al-U9Ivlk_0,2196
5
- keycloakauthenticator/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- keycloakauthenticator/tests/test_auth.py,sha256=sZ50G45Tz802E1Rg2na4WR_CKIBEjrQKR0U-yP6HHms,6090
7
- keycloakauthenticator-4.0.1.dist-info/METADATA,sha256=rzwK6LD-Mqc196oBriTyGcBsBnxnVB1jPneHqVSqFzQ,4704
8
- keycloakauthenticator-4.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
- keycloakauthenticator-4.0.1.dist-info/top_level.txt,sha256=_V3-kbMt9tmLLiHdVQS2GAa7OfwqeG1aWLQEeJvGX5E,22
10
- keycloakauthenticator-4.0.1.dist-info/RECORD,,