title: com.firebase.ui.auth.FirebaseUiException: Error when saving credential
body: <p>This error occurs when signing in to my app using Firebase.ui.auth and google sign-in, unable to get data from firestore too because of the error.</p>
  
  <pre><code>2019-06-22 22:16:57.237 6793-6793/meter.meterE/AuthUI: A sign-in error occurred.
      com.firebase.ui.auth.FirebaseUiException: Error when saving credential.
          at com.firebase.ui.auth.viewmodel.smartlock.SmartLockHandler$1.onComplete(SmartLockHandler.java:98)
          at com.google.android.gms.tasks.zzj.run(Unknown Source:4)
          at android.os.Handler.handleCallback(Handler.java:873)
          at android.os.Handler.dispatchMessage(Handler.java:99)
          at android.os.Looper.loop(Looper.java:193)
          at android.app.ActivityThread.main(ActivityThread.java:6669)
          at java.lang.reflect.Method.invoke(Native Method)
          at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
          at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
       Caused by: com.google.android.gms.common.api.ApiException: 6: Passphrase required.
          at com.google.android.gms.common.internal.ApiExceptionUtil.fromStatus(Unknown Source:4)
          at com.google.android.gms.common.internal.zai.zaf(Unknown Source:2)
          at com.google.android.gms.common.internal.zaj.onComplete(Unknown Source:6)
          at com.google.android.gms.common.api.internal.BasePendingResult.zaa(Unknown Source:172)
          at com.google.android.gms.common.api.internal.BasePendingResult.setResult(Unknown Source:131)
          at com.google.android.gms.common.api.internal.BaseImplementation$ApiMethodImpl.setResult(Unknown Source:36)
          at com.google.android.gms.internal.auth-api.zzo.zzc(Unknown Source:4)
          at com.google.android.gms.internal.auth-api.zzv.dispatchTransaction(Unknown Source:9)
          at com.google.android.gms.internal.auth-api.zzd.onTransact(Unknown Source:12)
          at android.os.Binder.execTransact(Binder.java:731)
  </code></pre>