Search Results :

×

Magento as OAuth Client and Drupal as OAuth Server

Magento as OAuth Client and Drupal as OAuth Server


Drupal Magento SSO Integration will allow you to configure Single Sign-On ( SSO ) login between your Drupal site and Magento. Magento SSO integration with your Drupal site will help your users to login into Magento using their Drupal credentials.

This SSO setup will also help you to manage your users in one single place. The Drupal OAuth Server module is compatible with Drupal 7, Drupal 8 as well as Drupal 9. Here we will go through a step-by-step guide to configure OAuth Server SSO login between Magento as OAuth Client and Drupal as OAuth Server.

If you have any doubts or queries, you can contact us at drupalsupport@xecurify.com. We will help you to configure the module. If you want, we can also schedule an online meeting to help you configure the Drupal OAuth 2.0 Server ( OAuth / OIDC Provider ) Single Sign-On ( SSO ) module

Features and Pricing

Know more about Drupal OAuth Server module from here.

Pre-requisites: Download

You can download the Drupal OAuth Server ( OAuth / OIDC Provider) - Single Sign On ( SSO ) module from here.

1. Drupal OAuth Server Installation

  • Click here to download the OAuth Server SSO module.
  • drupal oauth server module download Single Sign On SSO
  • Login in your Drupal site’s admin console and click on Extend/Modules from the top navigation bar.
  • Upload the downloaded .zip or tar.gz of the module and click on Install.
  • drupal oauth server install module SSO
  • After successful installation, click on Enable newly added modules and select miniOrange OAuth Server module. Then click on the Install button to proceed with the installations.
  • drupal oauth server enable module Single Sign On SSO
  • Click on Configurations from the top navigation menu.
  • Click on Drupal OAuth Server Configuration to go to the configuration page of the module.
  • drupal oauth server module configuration Single Sign On SSO

2. Configure Magento as OAuth Client

  • Download the miniOrange OAuth Client plugin zip.
  • Go to magento root directory.
  • Create the new directories MiniOrange/OAuth inside the app/code directory.
  • Unzip all contents of the zip inside the MiniOrange/OAuth directory.
  • Run the following commands on command prompt to enable the plugin-
  •       1. php bin/magento setup:upgrade
          2. php bin/magento setup:di:compile

  • After the installation if you see the blank page on the admin menu, follow the below steps-
    • 1. Take a backup of global.php file under the path - {magento-directory}/generarted/metadata/global.php
      2. Remove the global.php file.

  • Log in to Magento 2 backend to see the active plugin.
  • After successful installation, go to the OAuth Settings tab. Now configure your OAuth Provider using the Callback URL provided in this tab.

    drupal oauth server magento callback url
  • 3. Magento integration with Drupal

  • In the OAuth Client tab, Enter the OAuth Client name and then paste the Callback URL that you copied earlier and save it under the Authorized Redirect URL. Then click on the Next button to continue.
  • Drupal OAuth Server - Configure module
  • It will show you the Client ID, Client Secret and the Endpoints. Copy the Client ID, Client Secret, Scope and the Endpoints and keep it handy. You will be needing these values later to save them in your Magento client application.
  • Drupal OAuth Server - Client ID Client Secret Drupal OAuth Server - Endpoints

    4. Test Configuration of Magento

  • After successfully configuring OAuth Provider, go to OAuth Provider tab and configure OAuth Provider Name, Client ID, Client Secret, Scope and provided endpoints.
  • Click on the Save button to save the settings.
  • drupal oauth server magento save configuration
  • After successful configuration Click on the Test Configuration button.

    drupal oauth server magento Test configuration
  • You have successfully configured your Magento 2 as an OAuth Client.

    drupal oauth server magento Test configuration

24*7 Active Support

If you face any issues or if you have any questions, please feel free to reach out to us at drupalsupport@xecurify.com. In case you want some additional features to be included in the module, please get in touch with us, and we can get that custom-made for you. Also, If you want, we can also schedule an online meeting to help you configure the Drupal OAuth 2.0 Server Single Sign-On (OAuth/OIDC) module or call us at +1 978 658 9387.

Free Trial

If you would like to test out the module to ensure your business use case is fulfilled, we do provide a 7-day trial. Please drop us an email at drupalsupport@xecurify.com requesting a trial. You can create an account with us using this link.

Additional Resources

Our Other modules

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com