Hey Im using the same like you i've created an express middleware so every routes should verify their tokens in middleware once they are verified I can access their email address so based on that Im fetching users details but the issue is Im no able to verify the token whenever ,I host it in my Vercel hosting but in local development server it works . could you help me with this and i've added the authorized front end and backend endpoint to firebase console , I've set CORS for frontend so help me with this.
Hey, I have a question. Is it really necessary to verify each request with Firebase?. That reduces the efficiency of the server. If we verify each request, then the server will take some time to verify the token. That makes the app slower
To protect your backend with App Check, your apps should send an App Check token with every request. Apps built with Firebase SDKs and with App Check functionalities properly configured will automatically obtain and refresh App Check tokens for you. They will also automatically send those tokens along with every request to supported Firebase services such as Cloud Storage for Firebase, Cloud Functions for Firebase, and Firebase Realtime Database. These services will also automatically verify those tokens for you.
please I need some help with this error : "Failed to resolve module specifier "firebase-admin". Relative references must start with either "/", "./", or "../". "
I have one question, Can we restrict user login one account with multiple devices a time? I mean only allowed user login with one device a time? I hope you get my question
Keep up with the good content my man
🤗
Thanks buddy. It saved my day. Lots of love ❤
Please 🙏 do like share and subscribe
tks sir very helpful.
😍😊
Good stuff with easy to follow explanations.
Glad it was helpful!
super helpful
🤗😍
Hi Great video! Just one question for you: how can i get the id token at the server? I use next js and I manage it all throw the server
Hey Im using the same like you i've created an express middleware so every routes should verify their tokens in middleware once they are verified I can access their email address so based on that Im fetching users details but the issue is Im no able to verify the token whenever ,I host it in my Vercel hosting but in local development server it works . could you help me with this and i've added the authorized front end and backend endpoint to firebase console , I've set CORS for frontend so help me with this.
but how to store the private keys securely
Hey, I have a question. Is it really necessary to verify each request with Firebase?. That reduces the efficiency of the server. If we verify each request, then the server will take some time to verify the token. That makes the app slower
To protect your backend with App Check, your apps should send an App Check token with every request. Apps built with Firebase SDKs and with App Check functionalities properly configured will automatically obtain and refresh App Check tokens for you. They will also automatically send those tokens along with every request to supported Firebase services such as Cloud Storage for Firebase, Cloud Functions for Firebase, and Firebase Realtime Database. These services will also automatically verify those tokens for you.
How to refresh token in firebase
please I need some help with this error : "Failed to resolve module specifier "firebase-admin". Relative references must start with either "/", "./", or "../".
"
I have one question, Can we restrict user login one account with multiple devices a time? I mean only allowed user login with one device a time? I hope you get my question
Yes sure, we can restrict