Skip to content

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

@animeshjain

Description

@animeshjain

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions