Skip to content

Commit

Permalink
Merge pull request #2965 from bcgov/refactor/2832
Browse files Browse the repository at this point in the history
chore: update user service account naming convention
  • Loading branch information
junminahn committed May 29, 2024
2 parents 7f7a0ee + ae5aa34 commit bf1832f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default async function getOp({ session }: { session: Session }) {
}

const kcAdminClient = await getKcAdminClient();
const clientId = `z_pltsvc-svc-${session.user.id}`;
const clientId = `z_pltsvc-sa-${session.user.id}`;

let client = await findClient(clientId, kcAdminClient);
if (client) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default async function getOp({ session }: { session: Session }) {
}

const kcAdminClient = await getKcAdminClient();
const clientId = `z_pltsvc-svc-${session.user.id}`;
const clientId = `z_pltsvc-sa-${session.user.id}`;

const client = await findClient(clientId, kcAdminClient);
if (client?.id) {
Expand Down
2 changes: 1 addition & 1 deletion app/app/api/keycloak/api-accounts/user/_operations/read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default async function getOp({ session }: { session: Session }) {
}

const kcAdminClient = await getKcAdminClient();
const clientId = `z_pltsvc-svc-${session.user.id}`;
const clientId = `z_pltsvc-sa-${session.user.id}`;

const client = await findClient(clientId, kcAdminClient);

Expand Down

0 comments on commit bf1832f

Please sign in to comment.