Skip to content

Authenticating Firestore operations on the server? #159

Answered by shreyas-jadhav
tlamarre91 asked this question in Q&A
Discussion options

You must be logged in to vote

As far as I understand this question, you are trying to apply security rules for Firestore calls from an Admin SDK?

You must be aware that Firebase Admin SDK doesn't pass through Firebase Security Rules layer. It directly interacts with Firebase.
And if you need an AuthUser's I'd for a Firestore write, you must user withFirebaseUserSSR.

Hope this answers what you are looking for.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@tlamarre91
Comment options

Answer selected by tlamarre91
Comment options

You must be logged in to vote
1 reply
@tlamarre91
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants