-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CognitoUserSession is not valid because idToken is null. #3101
Comments
Hi @jbsolutions2008, thanks for your report. We are looking into this. |
@jbsolutions2008
|
@tylerjroach awsconfiguration.json
|
hi @jbsolutions2008, I am currently looking into your issue. Could you verify that you sent |
Hello. I'm having this issue when try to verify if the user is signed in. I'm working in flutter. But it only happens the first time I enter after singout. It rise the exception then return true or false after a while. The exception take me to the login page again and the when try to login it works fine.. I'll put my code in a while... |
Hi @Felixroldan, if you are still facing this issue, please paste your code here as well as the |
I guess upon registration is successful , you need to provide a CognitoUserSession so that we can get idToken , RefreshToken and so on .. |
Hi all, we are trying to configure the Amplify Authentication on Android 12, but when we try to sign in the result callback is called with a signInState equal to SignInState.DONE, but when we try to get the token (both sync or async),
an Exception raises: "CognitoUserSession is not valid because idToken is null. "
To Reproduce
A code sample or steps:
Expected behavior
Android 12 OS Version only.
Screenshots
Environment Information :
AWS Android SDK Version:
implementation 'com.amplifyframework:core:1.37.7'
implementation 'com.amplifyframework:aws-auth-cognito:1.37.7'
Device: Moto G
Android Version: Android 12
Specific to simulators: No
Additional context
In other Android os Versions. It working fine.
The text was updated successfully, but these errors were encountered: