Skip to content

Commit

Permalink
chore: svc acct username (#1340)
Browse files Browse the repository at this point in the history
add information on the service account usernames to json payload
  • Loading branch information
jlangy authored Nov 19, 2024
1 parent d931931 commit ff86e3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lambda/app/src/keycloak/installation/oidc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ export const generateInstallation = async (data: {

if (['service-account', 'both'].includes(authType)) {
rep['token-url'] = `${authServerUrl}/realms/${realm.realm}/protocol/openid-connect/token`;
rep['service-account'] = {
username: `service-account-${client.clientId}`,
description: "The service account's username for managing its roles through the CSS API.",
};
}

if (['browser-login', 'both'].includes(authType))
Expand Down

0 comments on commit ff86e3f

Please sign in to comment.