Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Firebase custom domain mapping with IAP

Given that the Cloud Run Custom Domain mapping feature will soon be removed (see attached), I need to find a new way of mapping my internally-facing apps to custom domains (e.g., my-app.my-team.my-company.com). 

It appears that I will still be able to map custom domains via firebase (https://cloud.google.com/run/docs/mapping-custom-domains#firebase), but it's not clear how to use IAP with that set up, as I was doing with the "Custom Domains - Google Cloud Load Balancing" integration that I have been using.

Can IAP be used with Firebase custom domain mapping?

Screenshot 2024-10-09 at 9.25.37 PM.png

0 1 262
1 REPLY 1

Hi @nick-youngblut,

It is true that custom domain mapping on Cloud Run will continue to function with Firebase even after the integration is stopped, however, Firebase Hosting does not offer direct support for IAP as Google Cloud Load Balancer does. IAP requires authentication and requires a higher level of control compared to what Firebase provides.

Here are a some recommendations:

I hope the above information is helpful!