To receive a device token for Firebase Cloud Messaging (FCM) you need to first get permission from the user, which makes total sense because most web push notifications are