Shubham Sinha
06/07/2022, 4:56 PM{
"status": 403,
"headers": {
"content-length": "23",
"content-type": "application/json"
},
"body": "{\"message\":\"Forbidden\"}"
}
I'm following this guide: https://serverless-stack.com/chapters/adding-auth-to-our-serverless-app.html#create-a-stack but can't find signInAliases as wellFrank
We are using the `login` prop to state that we want our users to login with their email.
Frank
Frank
Shubham Sinha
06/08/2022, 5:51 AMShubham Sinha
06/08/2022, 1:47 PMnew Api(stack, "Api", {
authorizers: {
pool: {
type: "user_pool",
userPool: {
id: auth.userPoolId,
},
},
},
defaults: {
authorizer: "pool",
},
routes: {
"GET /": "src/lambda.main",
},
});
Now I'm getting this error.Shubham Sinha
06/08/2022, 1:47 PM