Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cognito own domain name required A Record

Tags:

I am trying to assign an own domain name to a user pool for Cognito and facing an issue that it seems that an A Record is required.

In my case i have registered wildcard on my internet domain and am trying to follow the steps as mentioned in https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html

Now i can create an A Record but have no clue where this A Record should point to. Any hints or tips are welcome :) It would be nice if this can be done without using CloudFront.

I tried CNAME's etc but as stated an A Record is required.

like image 795
Marco Avatar asked Jul 09 '18 15:07

Marco


People also ask

Does Cognito store user data?

You can programmatically create a data set associated with Cognito Identity and start saving data in the form of key/value pairs. The data is stored both locally on the device and in the Cognito sync store. Cognito can also sync this data across all of the end user's devices.

Is username unique in Cognito?

A username is always required to register a user, and it cannot be changed after a user is created. The username must be unique within a user pool. A username can be reused, but only after it has been deleted and is no longer in use.

What is the main difference between Cognito user pool and Cognito identity pool?

With a user pool, your app users can sign in through the user pool or federate through a third-party identity provider (IdP). Identity pools are for authorization (access control). You can use identity pools to create unique identities for users and give them access to other AWS services.


1 Answers

It isn't the domain root that is relevant here. It's the subdomain that sits at the level below the one you enter.

  • If you enter auth.example.com, you need an A record for example.com
  • If you enter auth.qa.example.com, you need an A record for qa.example.com
  • If you enter foo.bar.qa.example.com you need an A record for bar.qa.example.com
like image 159
Nathan Dolan Avatar answered Sep 23 '22 20:09

Nathan Dolan