also how do we now add this into the stack?
# help
k
also how do we now add this into the stack?
f
Hey @Kristian Lake if u r asking how to do this in SST v1, try replacing
Copy code
auth.cognitoUserPool
with
Copy code
auth.cdk.userPool
k
Thanks. turns out what i wanted to do was this. cdk: { userPool: { email: cognito.UserPoolEmail.withSES({ sesRegion: 'us-east-2', fromEmail: 'noreply@a.com, fromName:
${stack.stage.toLowerCase() === "prod" ? "" : stack.stage.toLowerCase()} Support
, replyTo: 'support@a.com', sesVerifiedDomain: 'a.com', }), deviceTracking: { challengeRequiredOnNewDevice: true, deviceOnlyRememberedOnUserPrompt: true, }, // Users can login with their email and password signInAliases: { username: true, email: true, }, },