Using the domain mapping service from GCP app engine in n8n

Hi,

I am trying to figure out a way to make requests to do the domain mapping GCP API (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.domainMappings/create) using OAuth2 authentication through JWT for service-to-service authentication.

Is this possible in n8n?

Hey @edescobar!

From what I can understand is that this will be an HTTP request to the domain mapping endpoint. You can use the HTTP Request node. You can configure the Authentication method as well as set the headers in the node.

I hope this helps!

Hi @harshil1712!

Thank you for your response, but GCP’s Domain Mapping endpoint uses OAuth2 through JWT for service-to-service authentication. It’s a bit more complex than just setting the authentication through the headers — https://developers.google.com/identity/protocols/oauth2/service-account#httprest