Extensibility and Integration
  • 🔌Extensibility and Integration
  • 📦Products
    • Active Directory
      • Microsoft Graph
        • Overview
        • Tutorials
        • How to Guides
          • Create App Registration
          • Limit Permissions to a Specific Mailbox
      • OpenID
        • UPN Transformation
    • Cognitive Services
      • Form Recognizer
        • Overview
        • Tutorials
        • How to Guides
          • Set Up Form Recognizer
      • Anomaly Detector
        • Overview
        • Tutorials
        • How to Guides
    • Database
      • MS SQL Server
        • Overview
        • Tutorial
          • Flow on MS SQL - Basics
          • Flow on MS SQL - Extended
        • How to Guides
          • Query SQL in odd ways
    • ERP
      • Infor M3 Cloud
        • Overview
        • Tutorials
        • How to Guides
      • IFS Cloud
        • Overview
        • Tutorials
        • How to Guides
          • Import Application Configuration Packages
          • Add a new projection to the connector
          • Add a new server to the connector
      • IFS App 10
        • Overview
        • Tutorials
        • How to Guides
          • Import Application Configuration Packages
    • Storage
      • Azure Storage Account
        • Overview
        • Tutorials
        • How to Guides
          • Set Up Azure Storage Account
    • Studio
      • Applications
        • Workflow
          • Overview
          • Tutorials
          • How to Guides
            • Create Global Properties
            • Import Workflows
            • Setting Menu Roles
            • Publishing Workflows
            • Bluetooth Low Energy Quick Start Guide
      • Environment
        • Import Flow Properties
      • Connectors
        • Database
          • IFS Apps 10
            • Overview
            • Tutorials
            • How To Guides
              • Configure IFS Apps 10 Connector
        • Email
          • How to Guides
            • Email Example
        • File System
          • How to Guides
            • File System Example
            • Importing data from flat files (or other sources)
              • Scheduled Flows
        • HTML to PDF
          • How to Guides
            • HTML to PDF Example
        • Table Operation
          • How To Guides
            • Table Operations Example
        • REST Connector
          • How To Guides
            • Import a REST Configuration
            • Authenticate
              • OAUTH2
              • Cookie
          • Known Issues
            • HTTP Method: Delete - with body - not supported
            • HTTP Method: POST- Header parameters are not passed if no Body is sent
          • Tutorial
            • REST Basic training using Flow and Postman
        • OPC UA Client
          • How to Guides
            • Configure OPC UA Client Connector
        • OData Connector
        • OData Connector
    • Portal 2
      • Portlet
        • Basic
          • Data Tree
            • Overview
            • Tutorial
            • How to Guides
        • Visual Planning
          • Scheduler
            • Overview
            • Tutorial
              • Configure Scheduler
            • How to Guides
      • How To Guides
        • Start browser and auto login
    • Clients
      • Mobile Clients
        • Preference file
  • 📚Resources
    • Flow Help
    • Flow Forum
Powered by GitBook
On this page
  • OAUTH2 - as Operation inside the Project
  • OAuth2- using the specific Connector

Was this helpful?

  1. Products
  2. Studio
  3. Connectors
  4. REST Connector
  5. How To Guides
  6. Authenticate

OAUTH2

How to authenticate in different ways

PreviousAuthenticateNextCookie

Last updated 3 years ago

Was this helpful?

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:

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:

📦
https://learning.postman.com/docs/sending-requests/authorization/
FormData
setting content type to application/x-www-form-urlencoded