admin管理员组

文章数量:1395312

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?

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?

Share Improve this question asked Apr 28, 2015 at 6:41 kmb64kmb64 1,5132 gold badges17 silver badges29 bronze badges 0
Add a ment  | 

1 Answer 1

Reset to default 6

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) bees a different user.

本文标签: javascriptHow does Firebases anonymous authentication generate a UIDStack Overflow