Commit 4db0e5da authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Include the issuer in the userinfo

parent fed72fb7
...@@ -101,6 +101,7 @@ class OIDCTokenAuthBackend(object): ...@@ -101,6 +101,7 @@ class OIDCTokenAuthBackend(object):
userinfo_bytes = urlopen(req).read() userinfo_bytes = urlopen(req).read()
user_info = json.loads(userinfo_bytes.decode('UTF-8')) user_info = json.loads(userinfo_bytes.decode('UTF-8'))
user_info['iss'] = oidc_client.provider_info['issuer']
else: else:
LOGGER.error("Invalid parameters for get_userinfo") LOGGER.error("Invalid parameters for get_userinfo")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment