OAth2 - I'm trying to generate a token and I can't

I’m trying to create an HTTP node to generate a token.

In postman I managed to generate the token, but I am not able to replicate the information here on n8n.

Can someone help me assemble this request correctly?

Below 3 images. The first is how the parameters are in postman. The second is how I’m authenticating and the third is how I’m trying to fetch the token.




Hi @Leal_05, welcome to the community!

You wouldn’t need to send a manual HTTP request to the token endpoint when using n8n.

Instead you’d simply click the Connect my account button on the credentials screen, n8n would then use the provided URLs to request the token (and also refresh it in the background as needed):