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

how do i use the returned tokens within the aws-sdk #76

Open yonahforst opened 6 years ago

yonahforst commented 6 years ago

I'm not sure how to take the accessToken, idToken, and refreshToken returned and use them to set AWS.config.credentials

deejvince commented 6 years ago

I think you should check out Cognito identity pools.