question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Handle case where credentials stored in SmartLock do not correspond to an existing user

See original GitHub issue

Steps to reproduce:

  1. Login using email, password mechanism.
  2. Use SmartLock to remember the login credentials.
  3. Delete the user using the “Delete account” button
  4. go back to the auth screen and try to login / signup again.
  5. Get stuck at this blank screen

screenshot_20160803-124040

screenshot_20160803-124044

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:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
samtsterncommented, Aug 22, 2016

This fix for this issue is included in version 0.5.0.

0reactions
samtsterncommented, Aug 17, 2016

Fix implemented in #259

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found