DEV Community


How do I authorize firebase JWT on BaaS (MongoDB stitch)?

patarapolw profile image Pacharapol Withayasakpunt ・1 min read

It is already easy, if I write my own backend, because I can authorize with firebase-admin.

But cracking the JWT with native library is unknown...

For MongoDB stitch, it looks like this,

BTW, what am I trying to do?

  • Firebase is linked with Authentication service, Google Cloud Storage and Firestore.
  • Google Cloud Storage is presumably larger and cheaper than MongoDB Atlas's.
  • Firestore sucks. It cannot even count documents.
  • MongoDB stitch also has authentication service, but I don't know how to

Discussion (3)

Editor guide
qm3ster profile image
Mihail Malo
  1. Sounds like is the JWK URL (second radio option) you need for "Custom JWT", have you tried putting that in?
  2. LMAO, who needs to count documents? When would this even come up in real life?
daveteu profile image

why are you even comparing google cloud storage to mongo atlas?

patarapolw profile image