diff --git a/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/TenantConfigContext.java b/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/TenantConfigContext.java index 556029fcbb48c..82d9091402c77 100644 --- a/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/TenantConfigContext.java +++ b/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/TenantConfigContext.java @@ -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; @@ -158,6 +159,10 @@ public OidcTenantConfig getOidcTenantConfig() { return oidcConfig; } + public OidcConfigurationMetadata getOidcMetadata() { + return provider != null ? provider.getMetadata() : null; + } + public SecretKey getStateEncryptionKey() { return stateSecretKey; }