mazipan / tanyaaja.in

❓Kumpulkan pertanyaan secara anonim dari siapa saja dengan mudah
https://tanyaaja.in
MIT License
134 stars 36 forks source link

Validate token using Firebase Admin #94

Open mazipan opened 11 months ago

mazipan commented 11 months ago

Is your feature request related to a problem? Please describe. Currently we save the session info in Notion, notion API is slow, so the checking becomes slow also.

Migrate the session checker to the built-in by using Firebase Admin in the server.

Describe the solution you'd like https://firebase.google.com/docs/auth/admin/verify-id-tokens?hl=id#web

Additional context Should applied on all private endpoints.