aws-amplify / aws-sdk-android

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

I have AWS Cognito Pool of Users that I want to authenticate from the android app. After authentication, I need to get accesstoken and idtoken fso that I can use them for other purposes. I use AWSMobileClient for SignIn. #1337

Closed zubairzahoor closed 4 years ago

zubairzahoor commented 4 years ago

I have not configured Amplify and I have directly copied the awsconfiguration.json file.

zubairzahoor commented 4 years ago

AWSMobileClient.getInstance().getTokens().getAccessToken().getTokenString(); This works now, seems like there was a problem with some attributes in awsconfiguaration.json