Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Firebases anonymous authentication generate a UID?

Is this based on the clients machine or browser or something else?

For example if I logged in anonymously using Chrome, would the same UID be used in Firefox on the same machine?

like image 217
kmb64 Avatar asked Apr 28 '15 06:04

kmb64


1 Answers

From the Firebase documentation on anonymous authentication:

Each time you login a user anonymously, a new, unique user ID will be generated, and your Firebase reference will be authenticated using these new credentials.

So each of the browsers (in your example) becomes a different user.

like image 184
Frank van Puffelen Avatar answered Nov 14 '22 04:11

Frank van Puffelen