amazon-archives / amazon-cognito-auth-js

The Amazon Cognito Auth SDK for JavaScript simplifies adding sign-up, sign-in with user profile functionality to web apps.
Apache License 2.0
424 stars 232 forks source link

Launch a modal box instead of doing a redirect #82

Open cristianedb opened 6 years ago

cristianedb commented 6 years ago

Is there a way to launch a modal with the option for sign-in/sign-up instead tho redirect a whole page?

CodingToBeWithHer commented 6 years ago

there is a separate repo: https://github.com/aws/amazon-cognito-identity-js with JS Identity SDK for Cognito that you can use on your website. But to add to your question I was also wondering whether there is some default form that we could use with this JS SDK for Cognito (something similar that is by default for Auth SDK - like field for username, email, password etc)

Anybody knows whether there is some default form with that JS Identity SDK for Cognito ?

udf2457 commented 6 years ago

It would be fabulous if the AWS team could come up with something similar to the Auth0 lock modal ! https://auth0.com/docs/libraries/lock/v11 https://github.com/auth0/lock

yuntuowang commented 6 years ago

Hi @udf2457 and @cristianedb, thanks a lot for the feedbacks! I will certainly mark this as feature request and bring it up with my team.

cristianedb commented 6 years ago

Thank you! I will appreciate this feature