Search code examples
google-cloud-platformgoogle-cloud-rungoogle-api-gateway

User Authentication for Identity Platform + API Gateway


I have a Cloud Run service fronted by API Gateway. I would like to restrict access to some of the endpoints using JWTs.

The only examples Google provides are these.

I don't see an example for how to use Identity Platform here to authenticate users in API Gateway.

Does anyone know how to do that?


Solution

  • Turns out that using the Firebase authentication method mentioned in the documentation works (i.e. add the firebase security definition).