IAP GCIP integration results in HTTP 404 error on /config resource

627 Views Asked by At

Trying to integrate Github OAUTH2 using Google Cloud Identity Platform and Identity Aware Proxy on GCP and Firebase UI deployed on Cloud Run (out-of-the-box). I have owner role for this account

Getting following error from browser console, when trying to access protected application. Redirection seems to be happening but the firebase UI is not shown.

A specified resource is not found, or the request is rejected by undisclosed reasons

The resource url resulting in HTTP status 404 is https://iap-gcip-hosted-ui-app-engine-app-app-specific-code-de.a.run.app/config

Do I require any specific privilege besides the Owner role. Below url is accessible, which is meant for configuring firebase UI

https://iap-gcip-hosted-ui-app-engine-app-app-specific-code-de.a.run.app/admin

2

There are 2 best solutions below

0
On BEST ANSWER

Looks like a bad reference to auth ui project. Reuploading auth ui project to the firebase hosting (associated with gcp project) made it work

1
On

I was running into a similar symptom, and the problem was that I didn't have any "Identity Providers" enabled other than "Anonymous", which the GCIP tool didn't know how to use.