DEV Community

Discussion on: The Complete Guide to User Authentication with the Amplify Framework

Collapse
 
lanceharper profile image
Lance Harper

There seems to be a serious bug w/ amplify. When I go through the steps in your tutorial, I get to the step where it asks "What domain name prefix you want us to create for you?" and it provides a default. Hitting enter to accept the default tells me there is an error where the value must be a valid domain name format.

Collapse
 
dabit3 profile image
Nader Dabit

Hey, thanks what version of the CLI are you using?

Collapse
 
lanceharper profile image
Lance Harper • Edited

The latest. It turns out that the prefix that is generated by the CLI is not permitted. My repo had dashes and the name of the host prefix had dashes but it wouldn't validate the underscores that amplify swapped my dashes out with for some reason. Pretty confusing but I figured it out. Thanks for the quick reply.