-
What if I am making a call to a cloud function that is a part of a different project ? How do I authenticate that user ?Ex: Project 2 -- specialized only for cloud functions How can I initialize the second project using auth.admin? I am happy to add more clarity if my question isn't clear. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@mSaurabh function triggers cannot span projects. However you can use |
Beta Was this translation helpful? Give feedback.
@mSaurabh function triggers cannot span projects.
However you can use
firebase-admin
across projects, as you said you'll just need to provide service account credentials. If you want you can use Cloud IAM to authorize one single service account to access multiple projects.