mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-08-12 00:22:23 +00:00
Update DashboardOIDC.py
Fixed OIDC timeout
This commit is contained in:
parent
d96b178a9c
commit
9aaa1edad6
@ -43,6 +43,7 @@ class DashboardOIDC:
|
|||||||
for (key, val) in self.providers.items():
|
for (key, val) in self.providers.items():
|
||||||
if val.get('openid_configuration').get('issuer') == issuer:
|
if val.get('openid_configuration').get('issuer') == issuer:
|
||||||
return key
|
return key
|
||||||
|
return issuer
|
||||||
|
|
||||||
def VerifyToken(self, provider, code, redirect_uri):
|
def VerifyToken(self, provider, code, redirect_uri):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user