Why does Google IAP require iap.googleapis.com to be in the list of redirect URIs?
Asked Answered
P

0

6

I am trying to set up IAP and a global HTTPS load balancer to secure an app in Cloud Run using steps here. When I visit the app URL, I see an error saying this redirect_uri is missing:

https://iap.googleapis.com/v1/oauth/clientIds/{my_client_id}.apps.googleusercontent.com:handleRedirect

If I add this redirect URI and visit the app URL again, then the message that appears is:

Choose an account to continue to iap.googleapis.com

My main question is why does Google IAP require iap.googleapis.com to be in the list of redirect URIs? And second, once it is added, why does it show iap.googleapis.com instead of my domain? The documentation page above doesn't explain this.

FWIW, my oauth consent screen user type is "external", and publishing status is "testing".

Preen answered 26/5, 2023 at 14:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.