-
Notifications
You must be signed in to change notification settings - Fork 451
how tro create a user by admin when using only userpool #666
Comments
I can set my AWS.config object `function registerUser(user) { let client = new AWS.CognitoIdentityServiceProvider(); client.adminCreateUser(params, function(err, data){ Should I be conserned by loading credentials from a json into the browser? |
Yes, you should. AdminCreateUser is meant to work in a secure server environment hence why it requires developer credentials. |
I see. |
I mentioned that using AdminCreateUser in the browser is not recommended, mainly because it requires AWS credentials. |
What I ment was, is there a way to add new users to the user pool in the browser? |
Technically possible. Not entirely sure I would recommend doing that form the browser but I would need to think more about it. |
ok, thank you :) |
We are not using any federated identity.
I need to use adminCreateUser to be able to register new users from my app. In order to do so I need credentials.
How can I get credentials in my case?
The text was updated successfully, but these errors were encountered: