awslabs / aws-api-gateway-developer-portal

A Serverless Developer Portal for easily publishing and cataloging APIs
Apache License 2.0
928 stars 402 forks source link

CognitoDomainNameOrPrefix ambiguity #570

Open Ada-Nick opened 2 years ago

Ada-Nick commented 2 years ago

I'm trying to launch the portal from aws SAR. But am failing due to incorrect provision for the CognitoDomainNameOrPrefix parameter.

I am not interested in setting a specific domain for the cognito sign-in page and just want to pass the prefix ''auth", but am getting errors such as:

Received response status [FAILED] from custom resource. Message returned: Domain already associated with another user pool. For more details, see CloudWatch group

What value should CognitoDomainNameOrPrefix take? I can't find an example that clears this up.