Skip to content

Commit

Permalink
Merge pull request #38375 from sberyozkin/get_oidc_metadata
Browse files Browse the repository at this point in the history
Make it easier to get the default  OIDC metadata
  • Loading branch information
sberyozkin authored Jan 24, 2024
2 parents d1ab63a + 658321d commit 35f9159
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.jboss.logging.Logger;

import io.quarkus.oidc.OIDCException;
import io.quarkus.oidc.OidcConfigurationMetadata;
import io.quarkus.oidc.OidcTenantConfig;
import io.quarkus.oidc.common.runtime.OidcCommonUtils;
import io.quarkus.runtime.configuration.ConfigurationException;
Expand Down Expand Up @@ -158,6 +159,10 @@ public OidcTenantConfig getOidcTenantConfig() {
return oidcConfig;
}

public OidcConfigurationMetadata getOidcMetadata() {
return provider != null ? provider.getMetadata() : null;
}

public SecretKey getStateEncryptionKey() {
return stateSecretKey;
}
Expand Down

0 comments on commit 35f9159

Please sign in to comment.