View Categories

How to Use Oauth2 in Custom Webhooks

OAuth2 is an authorization method especially suited for large APIs due to its advanced security measures. By leveraging OAuth2, users can integrate seamlessly with numerous APIs, including Google, Facebook, LinkedIn, and more, unlocking extensive possibilities and functionalities for their applications.

How OAuth2 Authorization Works #

To utilize OAuth2 authorization within workflows:

Selecting OAuth2 Authorization #

Navigate to the Automation > Workflows section in your account then select an existing workflow from the list, or opt to create a new workflow.

image

Add the necessary triggers and actions alongside a Custom Webhook action. Choose OAuth2 as the authorization method.

image

Token #

Once OAuth2 is selected, you can either use an existing token by selecting it from the dropdown menu or request a new one.

image

To request a new access token, complete the fields in the popup modal, then confirm by clicking the Request Access Token button.

image

Configure the remaining fields in the action according to your preference, then click Save to add the action to your workflow.

image

Managing Tokens #

Tokens can be managed within the Custom Webhook action or in the Global Workflow Settings.

From the action, click on Manage Token to open a pop-up window displaying all tokens.

image

Alternatively, head to the Global Workflow Settings from the main Workflows screen.

image

Within the Manage Tokens section, click the option to Manage OAuth Tokens.

image

From this screen, you can update or delete tokens as needed for effective management.

image

OAuth2 authorization simplifies integration with major APIs while ensuring security and efficiency. By understanding how to manage tokens and utilize this functionality, you can harness the full potential of your workflows. 

What's your Reaction?
Like
Love
Wow
Sad
You have reacted on"How to Use Oauth2 in Custom Webhooks"


A few seconds ago