aws-amplify / aws-sdk-android

AWS SDK for Android. For more information, see our web site:
https://docs.amplify.aws
Other
1.03k stars 551 forks source link

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

Closed agrawalravi90 closed 1 year ago

agrawalravi90 commented 1 year ago

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):

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 commented 1 year ago

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.