Skip to content

Commit

Permalink
feat(tenant-management): keycloak idp update
Browse files Browse the repository at this point in the history
keycloak idp update

47
  • Loading branch information
Tyagi-Sunny committed Oct 22, 2024
1 parent d8cd33c commit 55af6d3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class KeycloakIdpProvider
clientId,
token,
clientSecret,
tenant.key,
);

// 4. Create a new admin user for the tenant
Expand Down Expand Up @@ -154,10 +155,11 @@ export class KeycloakIdpProvider
clientId: string,
token: string,
clientSecret: string,
key: string,
): Promise<void> {
const redirectUris = [
'http://localhost:3000/*', // Example: Local development redirect URI
'https://your-app.com/*',
`https://${key}.${process.env.DOMAIN_NAME}/authentication-service/*`,
];

await axios.post(
Expand Down

0 comments on commit 55af6d3

Please sign in to comment.