feat: allow jwks to include the certs from non-admin owner (#3749)

This commit is contained in:
DacongDA
2025-04-28 09:31:56 +08:00
committed by GitHub
parent eae69c41d7
commit 36f5de3203
2 changed files with 6 additions and 2 deletions

View File

@ -138,7 +138,7 @@ func GetOidcDiscovery(host string) OidcDiscovery {
func GetJsonWebKeySet() (jose.JSONWebKeySet, error) {
jwks := jose.JSONWebKeySet{}
certs, err := GetCerts("admin")
certs, err := GetCerts("")
if err != nil {
return jwks, err
}