(Cognito): Ensure a domain is created when VerificationEmailStyle is Link
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 74
Description
When a user pool is created with VerificationEmailStyle set to Link, Cognito requires that a domain be present. The CDK could validate this is the case. Info here: https://forums.aws.amazon.com/thread.jspa?threadID=262811
### Use Case
Just to save some headaches down the line.
### Proposed Solution
Throw an exception if a domain doesn't exist.
### Other
* [x] :wave: I may be able to implement this feature request
* [ ] :warning: This feature might incur a breaking change
---
This is a :rocket: Feature Request
Contributor guide
Research direction
Start by locating the Cognito user-pool construct and the handling of VerificationEmailStyle. Confirm how the domain setting is represented, then add the requested exception when Link is selected without a domain. Done means invalid configurations fail during CDK validation with a clear error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- authentication, cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100