Closed nyck33 closed 3 years ago
Are these enough or do I also need to save payload from JwtToken?
print(
'\n\nuser_service getCredentials _session:\n id_token: ${_session?.getIdToken().getJwtToken()}\nrefreshToken: ${_session?.getRefreshToken()?.getToken()}\n access token: ${_session?.getAccessToken().getJwtToken()}\n clockdrift: ${_session?.getClockDrift()}\n\n');
This is probably it: https://github.com/furaiev/amazon-cognito-identity-dart-2/issues/82#issuecomment-669139576 I'll try in the morning.
I just learned about flutter_secure_storage here: https://pub.dev/packages/flutter_secure_storage/install and was wondering why SharedPreferences was chosen over it in the example.