Search Results :

×

Configure Webhooks in OAuth 2.1 Server

Webhooks allow the OAuth Server to send real-time notifications to external applications when specific events occur. By configuring webhook endpoints, you can automate workflows and keep connected systems synchronized with authentication and authorization events. This guide explains how to configure webhooks in the miniOrange Drupal OAuth Server module.

  • Download the module:

    composer require 'drupal/oauth_server_sso'

  • Go to Extend menu on your Drupal admin console and enable the module by enabling the checkbox and click on Install button.
  • Configure the module at:

    {BaseURL}/admin/config/people/oauth_server_sso/config_client

  • Install the module:

    drush en oauth_server_sso

  • Clear the cache:

    drush cr

  • Configure the module at:

    {BaseURL}/admin/config/people/oauth_server_sso/config_client

  • Navigate to Extend menu on your Drupal admin console and click on Install new module.
  • Install the Drupal OAuth / OIDC Provider - Single Sign On (SSO) module either by downloading the zip or from the URL of the package (tar/zip).
  • Click on Enable newly added modules.
  • Enable this module by checking the checkbox and click on Install button.
  • Configure the module at:

    {BaseURL}/admin/config/people/oauth_server_sso/config_client

  • Before configuring the webhooks, ensure that the Drupal OAuth Server module is installed and configured on your Drupal site. Refer to this setup guide to complete the configuration.
  • After creating the client or registering the application, navigate to the Settings tab.
Drupal OAuth Server - Click on Settings tab

  • In the Settings tab, navigate to the Webhooks tab.
Drupal OAuth Server - Navigate to Webhooks Tab

  • In the Add Webhook section, enter the label of your webhook in the Label text field.
  • Enter the endpoint URL where you want to receive notifications or POST requests for any events.
  • In the Signing Secret field, enter a secure secret key that will be used to generate the X-MO-Webhook-Signature header using the HMAC-SHA256 algorithm. The receiving application can use this same secret to verify the signature and ensure that webhook requests are authentic.
  • Under the Subscribe to Events section, select the events for which you want to receive webhook notifications.
  • The Enabled checkbox is selected by default. Keep it enabled to allow the OAuth Server to send webhook notifications for the configured endpoint and subscribed events.
  • After that, click the Save button.
Drupal OAuth Server - Enter Webhook Details and Click Save

That's it. You have successfully configured the Webhook.

If you face any issues during the configuration or if you want some additional features, please contact us at drupalsupport@xecurify.com.


 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again

We'll Reach Out to You at the Earliest!



ADFS_sso ×
Hello there!

Need Help? We are right here!

support