Closed clotodex closed 2 months ago
I cannot get JWT of firebase tokens to work. I have so far used a manual verification so I know that it CAN work.
let mut builder = JwtAuthorizer::from_jwks_url("https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com");
This fails on the first refresh. Afaik it fails parsing it into a Jwk. Any thought on this or ideas on what I could try?
Jwk
Turns out one needs to use this url to get to the raw jwks: https://www.googleapis.com/service_accounts/v1/jwk/securetoken@system.gserviceaccount.com
https://www.googleapis.com/service_accounts/v1/jwk/securetoken@system.gserviceaccount.com
I cannot get JWT of firebase tokens to work. I have so far used a manual verification so I know that it CAN work.
This fails on the first refresh. Afaik it fails parsing it into a
Jwk
. Any thought on this or ideas on what I could try?