问题
We are current hosting a Java/Spring server including firebase ID token verification on SAP Cloud Platforms (Hana Cloud). The authentication worked fine for the last few month, but suddenly stopped working yesterday, then it recovered after ~30 minutes and today it suddenly stopped working again. The error always is:
java.util.concurrent.ExecutionException: com.google.firebase.auth.FirebaseAuthException: Firebase ID token has invalid signature. See https://firebase.google.com/docs/auth/admin/verify-id-tokens for details on how to retrieve an ID token.
It is still working fine when i test it locally. What could cause this error in this unpredictable way? Are there request limits on the firebase-backend regarding Id token verification requests (which would still be strange, because other times it worked under heavy load just fine)?
Any ideas what might be causing this? I could not find really anything regarding this error. Thanks!
回答1:
It appears that there indeed was a server configuration problem with the root certificate. Sadly i cannot give any specifics, because i don't have direct access to the server and only the information the system admin gave me.
来源:https://stackoverflow.com/questions/46114381/firebase-suddenly-reports-invalid-signature