OAUTH2

How to authenticate in different ways

OAUTH2 - as Operation inside the Project

To learn more about Oauth2 and Authentication around REST, the Postman help section gives a good in depth look. It can be found at: https://learning.postman.com/docs/sending-requests/authorization/

In Flow the connection can either be set up as it's own connector (External Oauth2 provider), or set it up within the Rest-project itself. This is an example with Flow set up against Salesforce with 5 input parameters (string). The response is captured under the OK response.

Note that the parameters are as FormData type

If the input body in Postman is of type x-www-form-urlencoded:

you will have to change the content typ to application/x-www-form-urlencoded

OAuth2- using the specific Connector

If you choose to set up the authentication with the Oauth2-connector it may look like this which is an example of a connection with Microsoft Office 365

In the O365 case the token has to start with "Bearer", easily obtained like this:

Last updated