Closed PierreSnell closed 7 months ago
I think I found the problem.
The link https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com
refers to certificate which are not public keys.
I loaded them (in python), extracted the public key, and placed it in the Keys
config field and now everything is working like a charm.
Still, it would be nice to have the possibility to load the "google json certificate".
Have a great day :)
I'm trying to follow https://firebase.google.com/docs/auth/admin/verify-id-tokens#verify_id_tokens_using_a_third-party_jwt_library so I can validate my firebase JWT tokens with this plugin.
Here is the config :
Using it, all my requests are giving:
token validation failed
But the token is valid.However, I'm not sure if I need to provide a private key as shown on : https://jwt.io/ but if I do it raises an error saying that it couldn't extract the key.