Brandon
06/24/2022, 8:42 AM// Auth
const auth = new Auth(stack, "Auth", {
cdk: {
userPool: UserPool.fromUserPoolId(stack, "IUserPool", active_userpool.id),
userPoolClient: UserPoolClient.fromUserPoolClientId(stack, "IUserPoolClient", active_userpool.clientId)
}
});
The authorizers as follows:
authorizers: {
jwt: {
type: "user_pool",
userPool: {
id: auth.userPoolId,
clientIds: [auth.userPoolClientId]
},
},
}
I am using the jwt authorizer. The issue is, that this stack exists in a different AWS account than the UserPool. Would anyone know what the implementation is for authorizing with an existing UserPool in a different AWS account?