flutter_cognito_plugin
flutter_cognito_plugin copied to clipboard
Get token not working in android
any update on this? getTokens not working only on android. On ios its okay.
What exactly is your problem?
In my case, I was printing the access token to the console and trying to verify it but copying it and pasting into a JWT verifier. I kept getting a token with an invalid signature in Android but a valid token in iOS.
The issue for me was that the Android logger was truncating the output of the print statement and I was copying only the first part of the token. I was missing the last 23 characters of the token.