Great question. We are actually putting the finishing touches on login v2 and I think you will be happy with the offline improvements it brings. Ultimately, you are running into issues with what you are trying to do because it cannot be done with the current API. However, with our upcoming login refresh, we will persist session tokens on the client, allowing you to authenticate via custom or simple login without any internet connection. We are still a couple weeks out from finishing this project and making it production-ready, but keep an eye out on this group for announcements.
=================
https://www.firebase.com/docs/web/guide/user-auth.html
Internally, Simple Login generates JWT auth tokens after authenticating against the appropriate provider. It then calls Firebase.auth() with those tokens. It does not store profile or state information in Firebase. In order to persist user data we'll have to save it to our Firebase.
=================
Firebase.auth() in firebase-client-jvm-1.0.18.jar/com/firebase/client/Firebase.class
can not decomplier, for understand how to save data. ....
Firebase.auth() in firebase-client-jvm-1.0.18.jar/com/firebase/client/Firebase.class
can not decomplier, for understand how to save data. ....