Aws-sdk-android: AuthenticationType Android Mobile Client

Created on 24 Jun 2019  路  4Comments  路  Source: aws-amplify/aws-sdk-android

Is there a way to set the AuthenticationType as USER_PASSWORD using the AWSMobileClient on Android?

  • SDK AWSMobileClient

com.amazonaws:aws-android-sdk-mobile-client:2.13.6

  • SDK Version: [2.13.6]
AWSMobileClient Cognito Usage Question

Most helpful comment

We're trying to migrate users from one Cognito pool to another and in order to do that we'd need to configure our Android client to use USER_PASSWORD AuthFlow, so that the migration Lambda is triggered. Is there really no way to do that?

All 4 comments

@logo17 Thank you for reporting to us. Sorry for the inconvenience caused.

The AWSMobileClient does not let you specify the AuthenticationType. You need to use the aws-android-sdk-cognitoidentityprovider SDK in order to specify the AuthenticationType.

You can read our API Reference for more information and see AuthenticationDetails object where the AuthenticationType can be set up.

Closing this issue because of inactivity. Please feel free to open a new issue if you have follow-up questions

Has this changed since? It seems like it should be something that can be supported without any penalties. @kvasukib

We're trying to migrate users from one Cognito pool to another and in order to do that we'd need to configure our Android client to use USER_PASSWORD AuthFlow, so that the migration Lambda is triggered. Is there really no way to do that?

Was this page helpful?
0 / 5 - 0 ratings