Skip to content

Commit

Permalink
fix: Error Message in SsiMiwOauth2ClientExtension updated (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
awellnitz-materna authored Sep 20, 2023
1 parent 7362ca1 commit 7daa319
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private MiwOauth2ClientConfiguration createConfiguration(ServiceExtensionContext
var clientId = context.getConfig().getString(CLIENT_ID);
var clientSecretAlias = context.getConfig().getString(CLIENT_SECRET_ALIAS);
var clientSecret = vault.resolveSecret(clientSecretAlias);
Objects.requireNonNull(clientSecret, "Client secret not found in the vault");
Objects.requireNonNull(clientSecret, "Client secret could not be retrieved");

return MiwOauth2ClientConfiguration.Builder.newInstance()
.tokenUrl(tokenUrl)
Expand Down

0 comments on commit 7daa319

Please sign in to comment.