Open mazipan opened 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.
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.