AWS Cognito : Add user to group in userpool through program or API when using Hosted UI

I have project where I am using AWS cognito Userpool for Signle Sign On (SSO) users.

For that I have created Userpool, app clients, domain in cognito.

Using hosted UI provided by AWS cognito for sign in, sign up, forget password purpose.

Now I have created groups in Cognito Userpool and want to add users to that group as per requirement.

I have seen function called AdminAddUserToGroup here but I can’t use that with Hosted UI and it requires so many other things to setup.

How can I add userpool users to userpool groups after user sign up using javascript?

Is there any API through which I can add?

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.