skip to Main Content

Flutter – Can't verify signature for cognito access token

I'm using this below to get the access token of a logged in user. Future<void> fetchCognitoAuthSession() async { try { final cognitoPlugin = Amplify.Auth.getPlugin(AmplifyAuthCognito.pluginKey); final result = await cognitoPlugin.fetchAuthSession(); final userPoolTokensResult = result.userPoolTokensResult.toJson(); safePrint("Current user's userPoolTokensResult: $userPoolTokensResult"); } on AuthException…

VIEW QUESTION
Back To Top
Search