79485077

Date: 2025-03-04 23:12:03
Score: 2
Natty:
Report link

Below code will definitely get the JWT token

Amplify.Auth.getPlugin(AmplifyAuthCognito.pluginKey).fetchAuthSession().then( (value) { print(value.userPoolTokensResult.value.accessToken.toJson()); });

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Syed Sabih