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

Is this repo an SDK or sample app ? #49

Open jaxondu opened 6 years ago

jaxondu commented 6 years ago

I thought this repo consist of the SDK for us to use the Cognito hosted UI. But reading from AWS Cognito forum, AWS staff is saying this is just a sample: https://forums.aws.amazon.com/thread.jspa?threadID=266360 and https://forums.aws.amazon.com/message.jspa?messageID=812418#812418. If this is repo meant or not meant to be used by our apps?

yuntuowang commented 6 years ago

This repo contains an SDK and also a sample app. The source files are under "src" directory. You need to follow up the README.md to use the SDK. And it also contains a sample app under the "sample" directory to show you how to use the SDK. This sample shows how to interact with the OAuth compliant endpoints for user pools and the cognito hosted UI for user pools.

yuntuowang commented 6 years ago

Hi @jaxondu, do we still have any confusing part about this?