mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-03 07:46:18 +00:00
Update DashboardOIDC.py
Fixed OIDC timeout
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user