AWS Cognito Javascript Tutorial: Register Page



All Code can be found on my Github Repo:
https://github.com/nrao57/AWS-Cognito-Tutorials

Want to use AWS Cognito Services to manage registered users? In this video I will show you how to create a register page for your website using the AWS Cognito Javascript SDK.

AWS Cognito Javascript SDK Documentation
https://docs.aws.amazon.com/cognito/latest/developerguide/tutorial-integrating-user-pools-javascript.html#tutorial-integrating-user-pools-user-sign-in-javascript
https://github.com/aws-amplify/amplify-js/tree/master/packages/amazon-cognito-identity-js
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-idp-settings.html

Original source

15 thoughts on “AWS Cognito Javascript Tutorial: Register Page

  • May 5, 2019 at 05:32
    Permalink

    Thanks a lot – the official documentation is so poor. You did a great job – your examples are stright to the point – only a code confirmation is missing.

  • May 5, 2019 at 05:32
    Permalink

    Hi Nikhil. Very nice tutorial.
    I am getting NotAuthorizedException while testing your code with my Cognito details. In Response Headers getting "x-amzn-errormessage: Unable to verify secret hash for client xxxxxx"
    I would really appreciate if you can guide me what exactly I am doing wrong.
    Thanks in advance.

  • May 5, 2019 at 05:32
    Permalink

    hi nikhil.i am getting an error when i register. It says amazon congnito.min.js and amazon.auth.min.js couldn't be loaded. It says failed to load resources

  • May 5, 2019 at 05:32
    Permalink

    Hi Rao. I am trying to follow your tutorial. but I can't find amazon-cognito-auth.min.js and amazon-cognito-identity.min.js; my question is where did you get them? Thank you!

  • May 5, 2019 at 05:32
    Permalink

    Hi Nikhil, good tutorial. I followed the same but I'm getting an error : {code: "NetworkError", name: "Error", message: "Network error"}. Please suggest some solutions.

  • May 5, 2019 at 05:32
    Permalink

    Hi Rao. I am trying to follow your tutorial. but I can't find amazon-cognito-auth.min.js and amazon-cognito-identity.min.js; my question is where did you get them? thank you!

  • May 5, 2019 at 05:32
    Permalink

    Thanks for the helpful tutorials! A quick note, in the source code line 33 on register.html is incorrect – and therefore no personal name is pushed to Cognito as the personalname variable ends up being undefined.

  • May 5, 2019 at 05:32
    Permalink

    Nikhil, Your code saves my life.
    The AWS official document fakes me to play with AWS Amplify which is a bottomless hole.

  • May 5, 2019 at 05:32
    Permalink

    Hi Nikhil, Nice Video.

    As you know this is HTML Javascript page which can be viewed from Page Source, so how we can provide security to credentials ?

    Actually my requirement is to integrate API Gateway in Amazon Connect Stream API. So if you have information on that, Kindly share.

    Thanks,

    Gans

Leave a Reply