Abdul Taleb
08/30/2021, 4:09 PM$(whomai)
, and I'm debugging something in dev
environment, what's the best way to use dev
cognito pool rather than my personal cognito pool?thdxr
08/30/2021, 4:10 PMthdxr
08/30/2021, 4:11 PMUserPool.fromUserPoolId
to find an existing oneAbdul Taleb
08/30/2021, 4:12 PMAbdul Taleb
08/30/2021, 4:12 PMthdxr
08/30/2021, 4:13 PMAbdul Taleb
08/30/2021, 4:24 PMAbdul Taleb
08/30/2021, 4:25 PMdefaultAuthorizer: new apigAuthorizers.HttpJwtAuthorizer ({
// jwtIssuer: `<https://cognito-idp>.${scope.region}.<http://amazonaws.com/${userPool.userPoolId}|amazonaws.com/${userPool.userPoolId}>`,
jwtIssuer: `<https://cognito-idp>.${scope.region}.<http://amazonaws.com/${cognito.UserPool.fromUserPoolId(this|amazonaws.com/${cognito.UserPool.fromUserPoolId(this>, 'USER_POOL_ID')}`,
jwtAudience: [clientOne.userPoolClientId, clientTwo.userPoolClientId],
}),
thdxr
08/30/2021, 4:35 PMthdxr
08/30/2021, 4:35 PMdotenv
Abdul Taleb
08/31/2021, 12:57 AM