Skip to content

Commit

Permalink
fix: add missing info to auth config
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-s committed Feb 11, 2025
1 parent 54327e3 commit 1741d21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@ public class AccessCredentialsConfig extends AbstractConfiguration {
//basic auth
@JsonProperty("realm")
private String realm;

//oauth2
@JsonProperty("client_id")
private String clientId;
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public AccessCredentialsProvider(

if (security.isOidcAuthEnabled()) {
authMethods.add("oidc");
builder.clientId(jwtTokenService.getClientId());
}

builder.authenticationMethods(authMethods);
Expand Down

0 comments on commit 1741d21

Please sign in to comment.