Open utterances-bot opened 3 years ago
Hi thats for the write up - i've been trying to use this code snippet but can't find the FIREBASE_PUBLIC_KEY anywhere from firebase console for the line below. I was able to download the FIREBASE_PRIVATE_KEY from service accounts.
"VERIFYING_KEY": env.str("FIREBASE_PUBLIC_KEY", multiline=True),
Can you elaborate on how I can get this? Thanks.
You need to get the public key from the file exported by firebase. It's and RSA key so many libraries allow to do it.
A Cheat Sheet for Using your JWT Authentication with Django | Monadical Consulting
Getting DRF, SimpleJWT and Firebase to play nice.
https://monadical.com/posts/jwt-login-firebase.html