Service account object must contain a string \"private_key\" property."} #499
-
Beta Was this translation helpful? Give feedback.
Answered by
kmjennison
Jul 21, 2022
Replies: 1 comment 1 reply
-
You should confirm that the Related, this thread includes suggestions on formatting the private key: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
6174
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 thenext-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