Hi, everyone. Would someone be able to help with a...
# help
b
Hi, everyone. Would someone be able to help with an Auth issue. I have an Auth construct as follows:
Copy code
// 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:
Copy code
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?