Securing Dgraph Cloud with GCP API Gateway

I’m using Slash Dgraph cloud, with all my other services running on Cloud Functions or App Engine. I have GCP API Gateway securing all these services by generating the JWT using their code here: Using JWT to authenticate users  |  API Gateway Documentation Is there anyway I could secure DGraph Cloud with this?

Currently this is not supported with Dgraph Cloud.

Could you make an enhancement request in Dgraph/Issues and tag it with dgraph cloud? I think this would be a good thing to add and I will push for this.

If you use Auth0 you could use this approach: Securing Netlify Functions with serverless-jwt and Auth0 –

Discussion here:

EDIT: This just needs an auth server that your code fetches the cert from so there’s probably a way to get it working with your existing setup without Auth0