mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-07-28 00:04:16 +00:00
Fix token name in session for OIDC and GitHub authentication
This commit is contained in:
@@ -12,7 +12,7 @@ def github_oauth():
|
|||||||
return session.get('github_token')
|
return session.get('github_token')
|
||||||
|
|
||||||
def update_token(token):
|
def update_token(token):
|
||||||
session['google_token'] = token
|
session['github_token'] = token
|
||||||
return token
|
return token
|
||||||
|
|
||||||
github = authlib_oauth_client.register(
|
github = authlib_oauth_client.register(
|
||||||
|
@@ -12,7 +12,7 @@ def oidc_oauth():
|
|||||||
return session.get('oidc_token')
|
return session.get('oidc_token')
|
||||||
|
|
||||||
def update_token(token):
|
def update_token(token):
|
||||||
session['google_token'] = token
|
session['oidc_token'] = token
|
||||||
return token
|
return token
|
||||||
|
|
||||||
oidc = authlib_oauth_client.register(
|
oidc = authlib_oauth_client.register(
|
||||||
|
Reference in New Issue
Block a user