João Pedro
12/21/2021, 9:27 PMCannot perform specific action because there does not exist a valid use pool domain associated with the user pool
How do I set a domain+name on the Auth
construct? Couldn’t find it on the userPool or userPoolClient propsJoão Pedro
12/21/2021, 9:56 PMFrank
Auth
construct. You’d create an Auth
first:
const auth = new sst.Auth(this, "Auth", {
cognito: ...,
});
And then follow this example to add the domain. You can get the user pool via `auth.cognitoUserPool`:
auth.cognitoUserPool.addDomain(...);
Frank