Background: I have an API that previously running behind VPN. The API it self implement JWT Authentication for some path, so we have to attach:
Authorization: Bearer <jwt_token xxxx>
We just update our API to run behind Google Identity Aware Proxy and we follow the official documentation here. Everything working perfectly except for every path that need the JWT Authentication. The IAP mechanism also use:
Authorization: Bearer xxxx
And will overide the existing Authentication:
header. Any suggestions without changing the existing code?
Thank you.