fix(dashboard): set headers for JWKS requests
This commit is contained in:
committed by
Austin Pickett
parent
eb08467a7a
commit
83cee29ff7
@@ -601,6 +601,10 @@ class SelfHostedOIDCProvider(DashboardAuthProvider):
|
||||
disco["jwks_uri"],
|
||||
cache_keys=True,
|
||||
lifespan=_JWKS_CACHE_SECONDS,
|
||||
headers={
|
||||
"Accept": "application/json",
|
||||
"User-Agent": "HermesAgent/1.0",
|
||||
},
|
||||
)
|
||||
return self._jwks_client
|
||||
|
||||
|
||||
Reference in New Issue
Block a user