keldaanCommunity / pokemonAutoChess

Pokemon Auto Chess Game. Made by fans for fans. Open source, non profit. All rights to the Pokemon Company.
https://pokemon-auto-chess.com/
GNU General Public License v3.0
1.15k stars 359 forks source link

Firebase: Error (auth/api-key-not-valid.-please-pass-a-valid-api-key) #2410

Open coracoo opened 1 week ago

coracoo commented 1 week ago

I am using Docker for deployment,then used the JSON file downloaded from Firebase, copied the CLIENT_EMAIL and PRIVATE_KEY, but I can't log in no matter what. Is there an error in the content of the PRIVATE_KEY?

QQ_1730735646727

QQ_1730735931649

Phoenix-Starlight commented 1 week ago

Your PK is not invalid, your API key is wrong.

coracoo commented 1 week ago

but I copy all the keys from firebase , It still cant work

QQ_1730959449230

Phoenix-Starlight commented 6 days ago

Is it reading from .env instead?

coracoo commented 1 day ago

yes.Even I try to set the environment in docker-compose.yaml, but still not work