Create a Cognito User Pool

From @jayair on Mon Apr 10 2017 00:58:05 GMT+0000 (UTC)

Link to chapter - http://serverless-stack.com/chapters/create-a-cognito-user-pool.html

Copied from original issue: https://github.com/AnomalyInnovations/serverless-stack-com/issues/17

From @wilsonmar on Tue May 30 2017 01:26:11 GMT+0000 (UTC)

“App” on the left menu has changed to “App clients”

From @jayair on Tue May 30 2017 13:23:15 GMT+0000 (UTC)

@wilsonmar Thanks, will update it.

From @jayair on Thu Jun 08 2017 16:11:57 GMT+0000 (UTC)

@wilsonmar Updated - 8185cefd8f1269b443898eff6f5453c8aaa41b94. Thanks for the feedback.

From @jonsaw on Wed Nov 01 2017 09:36:43 GMT+0000 (UTC)

Question: Update tutorial to use Serverless to setup Cognito?

Like how it’s done here?

:smile:

From @jayair on Wed Nov 01 2017 17:35:47 GMT+0000 (UTC)

@jonsaw I see what they are doing but I’m not entirely clear on how we should use it in the tutorial. Could you elaborate a bit?

From @fcostarodrigo on Sat Dec 02 2017 17:11:43 GMT+0000 (UTC)

screenshot_20171202_150830

Cognito was moved from Mobile Services to Security.

Quite number of the options in Cognito differ from the book. May be time to update

Thanks for letting us know. Can you point out which screenshot(s) was the issue?

In this chapter we created a Domain Name and I don’t really understand the use of it. Why is his purpose?

Yeah it’s weird but it is a part of configuring Cognito.

We don’t use it in the tutorial but Cognito uses this to have a URL to host their authentication UI. You can opt to have Cognito manage the login forms for you.

Hey!

I believe Cognito now requires a non-empty setting for RequiredAttributes in the user-pool setup unlike the picture/instructions suggest.

Thanks !

2 Likes

Any resources to create an User Pool where only administrators can create new users?

Hmm I’m not sure I know how to do that. So nobody can sign up for your app then?

Yep, you are right. That tripped me up as well. They need to update the guide…

same here, also ran into the issue

I have the same issue as well, I made email a required attribute to make it work.

Hey guys @Tonny @jaxony @evanharmon

Can you tell me which step/screenshot needs to be updated in the guide. Let’s make sure other people don’t run into this.

I believe it is here:

I think I needed to go back and click at least 1 required attribute. I selected email and it seems to have worked so far.

Thanks for letting me know. I’ll add a note to the chapter.

Edit: I added a note about this error with the fix to chapter.