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
AWSMobileClient.getInstance().getTokens().getAccessToken().getTokenString();
This works now, seems like there was a problem with some attributes in awsconfiguaration.json
I have not configured Amplify and I have directly copied the awsconfiguration.json file.