oAuth2 : Password credential HTTP Request

I’m sorry but I can’t configure the HTTP Request oauth2 node.

On postman I manage to generate the token with the grant type Password credentials and on n8n it proposes the Client credentials and I don’t know where to put the username and password and how to put it.

on Postman
authPostman

on n8n node Http Request :

Thanks to anyone who can help me.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @JohnKenNabii,

We don’t support the Password Grant type in n8n with the OAuth credential so you would need to manually implement the oauth process in a workflow. Does the API you are connecting to not offer another option for OAuth?

For reference I also found this: OAuth 2.0 Password Grant Type which recommends against using this oauth type.

Thanks for your feedback
I’m only offered this type of authentication. Can you please tell me how I can integrate it manually?

Hey @JohnKenNabii,

I don’t have full instructions for that but you would need to use http request nodes to make the same calls that the oauth type needs so it would be a bit like what you have in the http request node already but you would first need to call the authorize endpoint for your api then the token endpoint sending the header or body parameters it needs.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.