Is there a way to validate Firebase registration tokens on my server without making a round trip to Firebase servers? I just want to know if they are valid, not necessarily active.
Asked
Active
Viewed 155 times
0
-
Why do you need to know? – Doug Stevenson Dec 09 '18 at 23:44
-
As crazy as it may sound, it's part of the authentication strategy. – Raj Chaudhary Dec 10 '18 at 04:54
-
Anonymous authentication to be more precise. – Raj Chaudhary Dec 10 '18 at 04:55
-
Possible duplicate of [Firebase Cloud Messaging - How to validate Tokens?](https://stackoverflow.com/questions/38442434/firebase-cloud-messaging-how-to-validate-tokens) – Cisco Dec 10 '18 at 11:52
-
@FranciscoMateo - not a duplicate as I want to validate it without making network calls to Firebase servers – Raj Chaudhary Dec 10 '18 at 13:10
-
Retracted vote to close. – Cisco Dec 10 '18 at 14:06
1 Answers
1
There is currently no way to validate tokens on your own.
I presume that you intend to validate it by checking the format, which would be unadvisable. Token formats have the tendency to change as Google wants it too.

AL.
- 36,815
- 10
- 142
- 281