Sunday, June 9, 2019

AWS Amplify and Cognito Basic Integration

Recently I have been working with Amplify and Cognito. I found some of the docs a little lacking so I figured I should write up some instructions for anyone else struggling to get it all configured right. The best AWS reference page I found was this and obviously you should have started here. What I found is that there are some extra things that you need to do in your Cognito User Pool to get everything working right. My goal here is to clarify how to get the integration basics setup so you can move forward with your development. Your final setup may vary based on how many apps, web pages and backend services you need to support.

So I assume you have added auth and pushed it to your backend already. After this if you want to use the built in web UI you need to setup the domain prefix. It needs to be unique within the AWS region so you may need to get creative. You could also use custom domain as well of course.
Configuring domain prefix or custom domain

Next you want to make sure your app clients are setup correctly. Amplify should have made you couple of app clients already one for web and one for apps. Take a look at the below images for the correct configuration. I made these with requiring unique email only. If you are using phone as well, just check that off on both. 

For web the callback and signout URLs should be something valid in your domain, if you are doing mostly local dev you can put in the localhost entries as shown below, they don't need to be valid initially to get basic things working.

Web client configuration

For the mobile app(s) you need to put in the app URI(s) instead. 
App client configuration
Now it is time to test your setup with the web interface. Construct the URL with the below template:

Replace the [PREFIX] with your chosen one and [CLIENT_ID] with the web client id after that you should get a login screen like this:

You should be able to sign up and login with this interface. Congratulations you have a working Cognito Integration.


  1. Can you trust NetEnt in your casino?
    NetEnt is known for their fantastic games but unfortunately, 강원 랜드 앵벌이 NetEnt is doing the 배당 토토 I have no doubt that NetEnt is a 포커페이스 great 벳 365 주소 gaming brand 20 posts  ·  They are great on mobile 넷마블 토토 사이트 and the platform are a great

  2. If a banker retires and nobody is prepared to take over and put up an equal stake, then the right to run the financial 1xbet korea institution for any amount within the casino limits reverts to the participant to the retiring banker's proper. Once all players have placed a wager the vendor will then deal 2 playing cards to the Player hand a pair of|and a pair of} playing cards to the Banker hand. It should be confused that solely a single Player hand is dealt regardless of quantity of} players there are on the desk. Each hand value is decided by adding the worth of the 2 playing cards collectively and solely considering the items column of the resultant determine. For instance, if the participant hand was dealt a 9 and a 7 you'll add these collectively giving sixteen, then solely think about the items column, so the hand value would be 6. These purple and blue symbols are the one symbols in the derived roads.


AWS Amplify and Cognito Basic Integration

Recently I have been working with  Amplify  and  Cognito . I found some of the docs a little lacking so I figured I should write up some ins...