OAuth2 Authentication

Allows authenticating to complete REST API requests through OAuth2.

inputs:

url – provide OAuth 2.0 endpoint to retrieve the token portion of the OAuth 2.0 specification

  • Required: yes

grant type – select from the list needed grant type and link with the value from Constants or Named Constant, etc:

  1. authorization_code
  2. password
  3. client_credentionals
  • Required: yes

parameter – select one or several (using “+”) authorization parameters of OAuth2 authentications:

  1. client_id
  2. client_sercet
  3. username
  4. password
  5. code
  6. redirect uri
  7. response_type
  • Required: yes

additional params – specify any additional parameters that aren’t available above. To specify additional parameters build them in the same way as query parameters in Rest Client (e.g. using Structures)

outputs:

authentication – OAuth2 authentication, link it to the input port authentication of Rest Client

here is an example of filling OAuth2 to authenticate in Sugar:

Click to rate this post!
[Total: 0 Average: 0]

Leave a Reply

Your email address will not be published. Required fields are marked *