Problem:
We use Identity-Aware Proxy (IAP) with Identity Platform for external identity management. Our backend relies on custom claims set via the Identity Platform Admin SDK for access control. When these claims are updated (e.g., via event-driven workflows), we need IAP to reflect these changes in the X-Goog-Iap-Jwt-Assertion token immediately.
Current Approach:
Appending ?gcp-iap-mode=CLEAR_LOGIN_COOKIE to the URL refreshes the IAP authentication cookie (the one that is sent from browser in cookie header), but the JWT assertion token injected by IAP does not update immediately.
Observed Behavior:
Questions: