Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there an API for Cognito 'admin-set-user-password' command in the SDK? #3380

Closed
agrawalravi90 opened this issue Aug 4, 2023 · 1 comment
Labels
closing soon Issue will auto-close if there is no additional activity within 7 days. pending-community-response Issue is pending response from the issue requestor

Comments

@agrawalravi90
Copy link

State your question
I came across https://docs.aws.amazon.com/cli/latest/reference/cognito-idp/admin-set-user-password.html which seems like an admin command to set a user's password. Couldn't find an equivalent in the SDK. Is there an API for it that I might have missed, or a way to accomplish the same via some other API(s)?

Which AWS Services are you utilizing?
Cognito

Provide code snippets (if applicable)
N/A

Environment(please complete the following information):

  • SDK Version: [e.g. 2.6.25] 2.12.1

Device Information (please complete the following information):
N/A

If you need help with understanding how to implement something in particular then we suggest that you first look into our developer guide. You can also simplify your process of creating an application, as well as the associated backend setup by using the Amplify CLI.

@gpanshu
Copy link
Contributor

gpanshu commented Aug 7, 2023

We do not expose admin APIs through amplify. You can directly call the initiateAuth api using the escape hatch with the necessary parameters if you wish to use this functionality.

@gpanshu gpanshu added pending-community-response Issue is pending response from the issue requestor closing soon Issue will auto-close if there is no additional activity within 7 days. labels Aug 7, 2023
@gpanshu gpanshu closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closing soon Issue will auto-close if there is no additional activity within 7 days. pending-community-response Issue is pending response from the issue requestor
Projects
None yet
Development

No branches or pull requests

2 participants