Commit b421b9b3 authored by Enrico Tröger's avatar Enrico Tröger
Browse files

Fix token name in session for OIDC and GitHub authentication

parent 52eb62a9
......@@ -12,7 +12,7 @@ def github_oauth():
return session.get('github_token')
def update_token(token):
session['google_token'] = token
session['github_token'] = token
return token
github = authlib_oauth_client.register(
......
......@@ -12,7 +12,7 @@ def oidc_oauth():
return session.get('oidc_token')
def update_token(token):
session['google_token'] = token
session['oidc_token'] = token
return token
oidc = authlib_oauth_client.register(
......
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