mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-07-16 01:56:58 +00:00
Update DashboardOIDC.py
This commit is contained in:
parent
2987216169
commit
bf74150f62
@ -30,6 +30,7 @@ class DashboardOIDC:
|
|||||||
for k in self.providers.keys():
|
for k in self.providers.keys():
|
||||||
if all([self.providers[k]['client_id'], self.providers[k]['client_secret'], self.providers[k]['issuer']]):
|
if all([self.providers[k]['client_id'], self.providers[k]['client_secret'], self.providers[k]['issuer']]):
|
||||||
try:
|
try:
|
||||||
|
print("Requesting " + f"{self.providers[k]['issuer'].strip('/')}/.well-known/openid-configuration")
|
||||||
oidc_config = requests.get(
|
oidc_config = requests.get(
|
||||||
f"{self.providers[k]['issuer'].strip('/')}/.well-known/openid-configuration",
|
f"{self.providers[k]['issuer'].strip('/')}/.well-known/openid-configuration",
|
||||||
verify=certifi.where()
|
verify=certifi.where()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user