I’m trying to set up an integration with Google Business Messages (part of Google Business Communications) in n8n and facing challenges with the authentication process. Google Business Messages seems to operate separately from the usual Google Developers Console, and it provides a JSON key for authentication. This process appears to require JWT (JSON Web Token) processing, which I’m finding complex to implement directly in n8n.
Any guidance, tips, or known methods to achieve this in n8n would be greatly appreciated!
Information on your n8n setup
n8n version: 1.17.0 (beta-ai)
Running n8n via (Docker, npm, n8n cloud, desktop app):: Docker
Hi @jlfguthrie, from looking at הרשמה ב-Business Messages | Google for Developers it appears Google suggests running another tool of theirs (oauth2l) using oauth2l header --json ./service_account_key.json businesscommunications which would generate the correct authentication header.
I am not familiar with this tool, but perhaps in a first step you can simply run this manually to verify whether this generates a static or a changing value? The name suggests it might just generate/refresh a standard OAuth2 token but tbh I find Google’s documentation around this product rather confusing.