I have server in php with custom user authentication. I'm trying to create chat with Firebase, and after reading docs I'm still confused id I need to authenticate my users for Firebase, and if so should I do it with signInWithCustomToken?
Any other tips on how should I proceed are welcome. Thank you.
There is no need to authenticate users for them to receive FCM messages.
You do need to pass the FCM Server key to send messages to devices however. You can see an example of that in the Authorization
header here: https://firebase.google.com/docs/cloud-messaging/send-message
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.