Correct, that one is the image (sorry for the late reply, I was out of the town this week).
After clicking âAdd an app clientâ, the options have changed on the AWS Cognito page titled âWhich app clients will have access to this user pool?â
Which options are we supposed to select now? My guess is that we are supposed to select âEnable username password auth for admin APIs for authentication (ALLOW_ADMIN_USER_PASSWORD_AUTH)â.
The text and image portion of the guide about Enable sign-in API for server-based authentication needs to be updated to reflect a change from AWS. The new option is Enable username password auth for admin APIs for authentication (ALLOW_ADMIN_USER_PASSWORD_AUTH) as per User Pool Authentication Flow - Server Side Authentication Flow:
- Pass
ADMIN_USER_PASSWORD_AUTH
(formerly known asADMIN_NO_SRP_AUTH
) for theExplicitAuthFlow
parameter in your server-side appâs call to CreateUserPoolClient or UpdateUserPoolClient .
@SamuelEarl @angququ hope this helps, I got stuck on it too!
Thanks for letting us know. Weâll update the chapter with this shortly.
âIn this chapter we created a Domain Name and I donât really understand the use of it. Why is his purpose?â
=> This also makes me confused. Later in the guide, when we use code to manage to infrastructure, there is no information related to the domain name as well, so I think itâs redundant for this guide
Which domain name are you referring to? Can you post a screenshot?
@jayair, I mean this part:
Ah. We donât use this in the guide but itâs needed when you are using Cognitoâs hosted UI for authentication.
Heads up, Iâm on Windows and I was running into a âAuthentication Errorâ issue and realized my src/config.js file for the apiGateway was missing a trailing â/â. Adding the trailing â/â fixed my issue.
Code from config.js below:
apiGateway: {
REGION: "us-east-1",
URL: "https://up99hdy2lb.execute-api.us-east-1.amazonaws.com/prod/",
},
Interesting, I donât think this is Windows related but it is strange that youâve to add this.