title: How to verify FCM registration token on server?
body: <p>I got my Firebase Cloud Messaging registration token for web push.
  And I sent this to my server to save in database for later push.
  But how can I verify this token is valid or fake?</p>
  
  <p>I have tried <a href="https://firebase.google.com/docs/auth/admin/verify-id-tokens" rel="noreferrer">this</a> but I think this is for Auth tokens not for web push.</p>
  
  <p>Someone else can send request of a random fake token to my server. I want to prevent this before save in db.</p>
  
  <p>Edit: It's solved and I wrote a simple class to use FCM for web push quickly.
  <a href="https://github.com/emretekince/fcm-web-push" rel="noreferrer">https://github.com/emretekince/fcm-web-push</a></p>