stackbeats
stackbeats

Reputation: 173

How to import exported auth data into Firebase emulators?

Can Firebase emulators import "exported Firebase auth data"?

Firebase emulators imports exported Firestore data, which is exported to gCloud then downloaded to my machine. The emulators can also import the auth data it exports, but I can't figure out how to import the data I've exported from Firebase.

Upvotes: 6

Views: 823

Answers (1)

Frank van Puffelen
Frank van Puffelen

Reputation: 599001

firebaser here

There is currently no way to import the auth:export format back into the emulator in bulk. At the moment it only can read its own export format (which allows it to persist user accounts between runs of the emulator suite).

This is a feature we'd like to add to the emulator at some point, but for the moment you'd have to build it yourself by processing the export.

Upvotes: 7

Related Questions