aws-amplify / aws-amplify/amplify-cli
CLI - cannot use my own domain in setting up OAuth flow
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
**Describe the bug**
While creating an Auth category I'm doing the full walkthrough.
When I try to add my own domain I get an error.
```
>> The value must be a valid domain name format. A valid format consists of lowercase alphanumeric characters or hyphens. Hyphens cannot be at the beginning or end of the string. The domain cannot use th
e reserved words 'aws', 'amazon', or 'cognito'.
```
I have certificate for my own domain and everything.
**To Reproduce**
Run the wizard and in the step:
` What domain name prefix do you want to use?`
Type your own. I typed: `auth-dev..com`
**Expected behavior**
To pass this step and have the domain created in aws-exports.
**Screenshots**
If applicable, add screenshots to help explain your problem.

Contributor guide
Assessment
This issue has not been assessed yet.