Search Results :

×

Magento Drupal SSO | SSO into Drupal using Magento as OAuth Server


Get Free Trial

Magento OAuth Server extenstion enables Single Sign-On (SSO) into the Drupal using your Magento username and password. Once you configure the Drupala with Magento OAuth Server extenstion, you can login to your Drupal using Magento credentials. OAuth Server extenstion also allows you to send custom Magento user attributes to your Drupal app as per your requirements. To know more about other features we provide in Magento OAuth Server extenstion, you can click here.

Pre-requisites : Download And Installation

Installation using Composer:
  • Purchase the miniOrange OAuth Server extension.
  • Go to My profile -> My Purchases
  • Please ensure you are using correct access keys (My Profile - Access Keys)
  • Paste the access keys in your auth.json file inside your project
  • Use the below command to add the extension to your project.
    "composer require {module_name}:{version}"
  • You can see the module name and list of versions in the selector below the extension module name.
  • Run the following commands on command prompt to enable the extension.
  • php bin/magento setup:di:compile
    php bin/magento setup:upgrade

Manual Installation:
  • Download the miniOrange OAuth Server extension.
  • Unzip all contents of the zip inside the MiniOrange/OAuth_Server directory.
  • {Root Directory of Magento} app code MiniOrange OAuth_server
  • Run the following commands on command prompt to enable the extension.
  • php bin/magento setup:di:compile
    php bin/magento setup:upgrade

Steps to configure Drupal Single Sign-On (SSO) using Magento OAuth Server extenstion

1. Setup Drupal as OAuth Client

  • Download the zip file for the miniOrange OAuth Client module for Drupal.
  • Login to your Drupal site’s administrator console.
  • Click on Extend/Modules from the top navigation bar.
  • Click on the Install new module button or directly go to /admin/modules/install to install the module
  • drupal oauth server extend and add new module
  • Upload the downloaded .zip or tar.gz of the module and click on Install.
  • drupal oauth server add new module
  • After successful installation, click on Enable newly added modules and select miniOrange OAuth client module. Then click on the Install button to proceed with the installations.
  • drupal oauth server drupal select module
  • Click on Configurations from the top navigation menu.
  • Click on Drupal OAuth Client Configuration to go to the configuration page of the module.
  • drupal oauth server callback url
  • After successful installation, go to the Configure OAuth tab. Now configure your OAuth Provider using the Callback URL provided in this tab.
  • drupal oauth client callback url

2. Configure Magento as OAuth Server

  • In the OAuth Server Settings tab, Enter the OAuth Client name and then paste the Redirect URL that you copied earlier and save it under the Redirect URL.
  • OAuth server Single Sign-On(SSO)Magento- Drupal add client
  • 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 Drupal client application.
  • OAuth server Single Sign-On(SSO)Magento- Drupal Authorized Redirect URI OAuth server Single Sign-On(SSO)Magento- Drupal Endpoints
  • Go back to the Client application that you already created in Drupal and enter the Client ID, Client Secret, Authorize Endpoint, Access Token Endpoint, Get User Info Endpoint and Scopes fields and click on the Settings button.
  • Drupal OAuth Server - Endpoints
    • After successfully configuring OAuth Provider, go to Configure OAuth tab.
    • After successful configuration Click on the Test Configuration button.
    • drupal oauth server save configuration
    • You have successfully configured your Drupal as an OAuth Client.
    • drupal oauth server Test configuration

    3. Attribute Mapping

    • In the Magento OAuth Server extension, navigate to the Attribute Mapping tab.
    • In the Attribute Mapping section, enter the information and click on Save .
    • Magento OAuth Server - Rocket chat - attribute mapping

    Additional Resources


    Why Our Customers choose miniOrange Magento Single Sign-On (SSO) Solutions?


    24/7 Support

    We offer 24/7 support for all Magento solutions. We ensure high quality support to meet your needs.

    Sign Up

    Customer Reviews

    See for yourself what satisfied customers have to say about our reliable Magento solutions.

    Reviews

    Extensive Setup Guides

    Easy and precise step-by-step instructions and videos to help you configure within minutes.

    Watch Demo


    We offer Secure Identity Solutions for Single Sign-On, Two Factor Authentication, Provisioning, and much more. Please contact us at

     +1 978 658 9387 (US) | +91 97178 45846 (India)   magentosupport@xecurify.com

    [MO_CONTACT_US]
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