Skip to content

mock the authenticated user? #464

Answered by prescottprue
bspksal asked this question in Q&A
Discussion options

You must be logged in to vote

@bspksal It really hits Firebase's servers for auth (you can have it hit emulators instead), but the string can be any value as Firebase will just add this as a new Firebsae Auth user with the given UID and no auth provider.

This is helpful if you want to associate data in a real database or in the emulators to specific user which you then login as and interact with your application.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by prescottprue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants