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. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us