Skip to content

Commit

Permalink
Merge pull request #26528 from sberyozkin/shorter_oidc_exception_message
Browse files Browse the repository at this point in the history
Exclude OIDC server connection details from OIDCException
  • Loading branch information
geoand authored Jul 4, 2022
2 parents 5e010cc + 1b018d3 commit c776c87
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ public static Optional<ProxyOptions> toProxyOptions(OidcCommonConfig.Proxy proxy

protected static OIDCException toOidcException(Throwable cause, String authServerUrl) {
final String message = OidcCommonUtils.formatConnectionErrorMessage(authServerUrl);
return new OIDCException(message, cause);
LOG.debug(message);
return new OIDCException("OIDC Server is not available", cause);
}

protected static Uni<OidcProvider> createOidcProvider(OidcTenantConfig oidcConfig, TlsConfig tlsConfig, Vertx vertx) {
Expand Down

0 comments on commit c776c87

Please sign in to comment.