Skip to content

Commit

Permalink
Make it easier to get the default OIDC metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin committed Jan 24, 2024
1 parent 71f3200 commit 658321d
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 658321d

Please sign in to comment.