Handle case where credentials stored in SmartLock do not correspond to an existing user
See original GitHub issueSteps to reproduce:
- Login using email, password mechanism.
- Use SmartLock to remember the login credentials.
- Delete the user using the “Delete account” button
- go back to the auth screen and try to login / signup again.
- Get stuck at this blank screen
In logcat, I can see an error as follows
08-03 12:34:35.870 15352-15352/com.firebase.uidemo W/ChooseAccountActivity: Unsuccessful sign in with email and password
com.google.firebase.auth.FirebaseAuthInvalidUserException: There is no user record corresponding to this identifier. The user may have been deleted.
at com.google.android.gms.internal.zzafg.zzes(Unknown Source)
at com.google.android.gms.internal.zzafd$zzg.zza(Unknown Source)
at com.google.android.gms.internal.zzafo.zzet(Unknown Source)
at com.google.android.gms.internal.zzafo$zza.onFailure(Unknown Source)
at com.google.android.gms.internal.zzafj$zza.onTransact(Unknown Source)
at android.os.Binder.execTransact(Binder.java:453)
There seems to be no way to get out of this scenario even by clearing the app cache etc.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Google Smart Lock vs Credential Management API
Google Smart Lock. Credential Managment API. My question is, What is the difference between the two API's (if any) and what are the...
Read more >Retrieve a user's stored credentials - Google Developers
Handle multiple saved credentials. Smart Lock account chooser. When user input is required to select a credential, the request() task will fail with ......
Read more >How to integrate Smart Lock into your Android apps
Retrieve user sign in credentials, if it exists and login user automatically if there is exactly one user credential. · Delete stored credentials...
Read more >FirebaseUI for Auth - Firebase Open Source
Smart Lock for Passwords must be told to delete any existing Credentials for the user, so that they are not automatically prompted to...
Read more >Manage Credentials - Tableau Help
If this is the case, the saved credential is associated with the data connection for all users, and it does not appear under...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This fix for this issue is included in version 0.5.0.
Fix implemented in #259