Skip to content

Commit

Permalink
fix(amplify-category-auth): fixed the openId Connect proovider auth (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarkarachi authored and akshbhu committed Nov 10, 2021
1 parent f8d0e8c commit f31c48f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ export class AmplifyAuthCognitoStack extends cdk.Stack implements AmplifyAuthCog
});
}
if (props.audiences && props.audiences.length > 0) {
this.identityPool.openIdConnectProviderArns = cdk.Fn.getAtt('OpenIdLambdaInputs', 'providerArn') as unknown as string[];
this.identityPool.openIdConnectProviderArns = [cdk.Fn.getAtt('OpenIdLambdaInputs', 'providerArn').toString()];
this.identityPool.node.addDependency(this.openIdLambdaInputs!.node!.defaultChild!);
}

Expand Down

0 comments on commit f31c48f

Please sign in to comment.