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

IdentityProvider ? What value should i put here ? #202

Open michalgarcarz opened 4 years ago

michalgarcarz commented 4 years ago

Hello Team,

In sample/index.html - i am not sure what value should i put for: IdentityProvider : ''

I use only User Pools in Cognito with Facebook identity provider. I do not need to map to any AWS roles, just authenticate and use token for authorization of API gateway calls.

Thanks,

ejanzzenang commented 4 years ago

Eg. IdentityProvider: 'Facebook'