Skip to content

Service account object must contain a string \"private_key\" property."} #499

Answered by kmjennison
6174 asked this question in Q&A
Discussion options

You must be logged in to vote

You should confirm that the credential.privateKey value is only the private key, not the whole service account object. In local development, you could try hardcoding the private key in the next-firebase-auth config rather than using environment variables at all—just to make sure it works.

Related, this thread includes suggestions on formatting the private key:
#95

Replies: 1 comment 1 reply

Comment options

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

Answer selected by 6174
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
Converted from issue

This discussion was converted from issue #498 on July 21, 2022 20:17.