alexluong / gatsby-packages

Gatsby packages
MIT License
56 stars 24 forks source link

Firebase Service Account Keys #28

Open justdilley opened 4 years ago

justdilley commented 4 years ago

Is there a way to convert the status credentials to initialize Firebase using the Service Account json keys/file?

alexluong commented 4 years ago

gatsby-plugin-firebase uses firebase and not firebase-admin.

Is there a reason why you want to initialize with service account keys?

justdilley commented 4 years ago

Oh, that makes sense.

I want to be able to use my Service Account keys as my auth mechanism to limit permissions to add data to my firestore database.

I'm also a React + Gatsby newbie so maybe I'm doing something wrong.