Hi,
I've followed the steps on this part of the documentation
I have 2 app engine standard instances and 1 flexible, all set up with IAP enabled. I'm using Auth0 for my authorization, and I would like for the JWT to pass through Endpoints to each one of my applications because there is important user-specific information in the JWT.
Once I try to use endpoints, however, any request sent through the gateway gets the Authorization header either removed or replaced, as each application complains that the JWT is invalid. I'm guessing that this is the JWT from IAP rather than the original Auth0 Authorization header originally passed, since the audience we use for x-google-backend is the IAP client ID, rather than the Auth0 API ID as specified in this documentation:
The ESP documentation states, in multiple places:
"ESP forwards all headers it receives, including the original authorization header, to the API".
However, I'm finding this to be
flat-out WRONG in my case, which is incredibly frustrating. Can anyone help explain what's going on and suggest any solutions?
Thanks