Skip to main content

Hi,​

Can you please tell me how to implement the Client function of OAuth (Resource Owner Password Credentials) in Mulesoft?

  • grant_type: password

Http Connector only supports the following Flow.

  • Authorization Code
  • Client Credentials

Is it possible to achieve this by combining the following?

  • http connector(Client Credentials)
  • Component(Transform Message、Set Payload、Custom(Java/Scripting))

 

https://help.mulesoft.com/s/article/HTTP-Connector-do-not-support-the-OAuth-Password-Credentials-Grant-type

The password credentials grant MUST NOT be used.This grant type insecurely exposes the credentials of the resource owner.

->However, our system requires Resource Owner Password Credentials.

 

#http connector

 

#OAuth(Resource Owner Password Credentials)

4.3. Resource Owner Password Credentials Grant

 

Thanks,

Akihiko

0/9000