Hello,
I am trying to use IAP with API Gateway. It works well when IAP is using the IAM for authorization. But when I try to use the GCIP authorization (Microsoft) it returns "Invalid GCIP ID token: JWT signature is invalid"
I think the modification needs to be made on the openapi.yaml file but not sure how
After finding this related Stack Overflow question, I have some inquiries on your question:
As shown on this Stack Overflow answer,
The reason for the error Invalid GCIP ID token: JWT signature is invalid is caused by using a Google Identity Token which is signed by a Google RSA private key and not by a Google Identity Platform RSA private key.
From there, as shown in the same answer,
The solution to this problem is to exchange the Google Identity Token for an Identity Platform Identity Token.
More information can be found at these links: