Unverified Commit 65a59d2e authored by Khanh Ngo's avatar Khanh Ngo Committed by GitHub
Browse files

Merge pull request #675 from eht16/fix_openid_update_token_typo

Fix token name in session for OIDC and GitHub authentication
parents 52eb62a9 b421b9b3
......@@ -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