aws-amplify / aws-amplify/amplify-cli

CLI - cannot use my own domain in setting up OAuth flow

Open
#4,705 4 comments 1 reaction 1 assignee Claimed by @josefaidt View on GitHub
auth feature-request pending-review
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.
![image](https://user-images.githubusercontent.com/2561935/85933553-f02eb780-b8e0-11ea-9b0a-40139ea1658b.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.