I have the following scenario: A user is authenticated anonymously with firebase auth. He then signs in into an existing account with email & password. Then, he signs out of that account again. Now, I want to recreate the anonymous account he has used before.
Is it somehow possible to store the anonymous credentials locally on the device and to use them later for signing in into the anonymous account again? I guess it would be sufficient to save the access / refresh token, but does firebase auth offer an API for that?