Karo
02/24/2021, 3:22 AMFrank
Domain and Client ID inside application settings in your Auth0 dashboard.
new Auth(this, "Auth", {
auth0: {
domain: "<https://myorg.us.auth0.com>",
clientId: "UsGRQJJz5sDfPQDs6bhQ9Oc3hNISuVif",
},
});
Full doc here - https://docs.serverless-stack.com/constructs/Auth#allowing-users-to-login-using-auth0Frank
Karo
02/25/2021, 4:57 AMKaro
02/25/2021, 4:58 AMKaro
02/25/2021, 4:59 AMFrank
Karo
02/25/2021, 5:43 AM"@aws-cdk/aws-iam": "1.89.0" , without that it was pulling PolicyStatement from somewhere else, which ended up making attachPermissionsToRole fail due to invalid instance type (PolicyStatement2 != PolicyStatement).Frank
PolicyStatement issue is fixed in this release also.Karo
02/25/2021, 5:44 AMFrank
lambda.Runtime conflict u ran into last timeFrank
Karo
02/25/2021, 5:48 AMFrank
node_modules folder and package-json.lock or yarn.lock fileFrank
npm install or yarnFrank
Frank
Karo
02/25/2021, 5:19 PMFrank