Skip to content

Commit

Permalink
Supports multiple IDPs (#404)
Browse files Browse the repository at this point in the history
* Update index.html

* Supports multiple IDPs
  • Loading branch information
Taikono-Himazin committed Jul 8, 2024
1 parent 8f928d0 commit c01ac7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cdk/lib/constructs/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class Auth extends Construct {
) => {
const secret = secretsmanager.Secret.fromSecretNameV2(
this,
"Secret",
`Secret-${provider.secretName}`,
provider.secretName
);

Expand All @@ -91,7 +91,7 @@ export class Auth extends Construct {
case "google": {
const googleProvider = new UserPoolIdentityProviderGoogle(
this,
"GoogleProvider",
`GoogleProvider-${provider.secretName}`,
{
userPool,
clientId,
Expand All @@ -113,7 +113,7 @@ export class Auth extends Construct {

const oidcProvider = new UserPoolIdentityProviderOidc(
this,
"OidcProvider",
`OidcProvider-${provider.secretName}`,
{
name: provider.serviceName,
userPool,
Expand Down

0 comments on commit c01ac7b

Please sign in to comment.