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

It cant denied signup with Federated Identities. #81

Open cristianedb opened 6 years ago

cristianedb commented 6 years ago

Im using CodeGrantFlow and any Google o Facebook user can does sign-up even when I set "Only allow administrators to create users" in the user group setting.

Is there a way to differentiate sign-in from sign-up?. Currently Im using getSession() but with federated user it works for sign-in and for sign-up