Error: Invalid RSA public key when using verifySignedJwtWithCertsAsync with Google IAP JWT token #1724
Labels
external
This issue is blocked on a bug with the actual product.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: question
Request for information or clarification. Not an issue.
Issue Summary
I am encountering an error, "TypeError - Invalid RSA public key", when trying to use the verifySignedJwtWithCertsAsync method from the google-auth-library-nodejs library to validate an IAP JWT token retrieved from the request header. I cannot find the source of this issue, can anyone help?
Code Snippet
Expected Behavior
I expected the verifySignedJwtWithCertsAsync method to successfully validate the IAP JWT token and for my function to return the user's email.
Actual Behavior
The method is throwing a TypeError - Invalid RSA public key error.
Additional Information
The text was updated successfully, but these errors were encountered: