Search Results :

×

Canvas LMS SSO | Integrate SAML login into Canvas using Drupal as IDP


Drupal Canvas LMS Integration will allow you to integrate Single Sign-On ( SSO ) login between your Drupal site and Canvas LMS. Canvas SSO integration with your Drupal site will help your users to login into Canvas LMS using their Drupal credentials. The Drupal SAML IDP - SAML 2.0 Identity Provider SSO 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 SAML SSO login between Drupal website as IdP ( Identity Provider ) and Canvas LMS as SP ( Service Provider ).

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 SAML IDP 2.0 Single Sign On (SSO) - SAML Identity Provider module.

Installation Steps 


  • Download the module:
    composer require 'drupal/miniorange_saml_idp'
  • Navigate to Extend menu on your Drupal admin console and search for miniOrange SAML Identity Provider using the search box.
  • Enable the module by checking the checkbox and click on install button.
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml_idp/idp_setup
  • Install the module:
    drush en miniorange_saml_idp
  • Clear the cache:
     drush cr
  • Configure the module at
    {BaseURL}/admin/config/people/miniorange_saml_idp/idp_setup
  • Navigate to Extend menu on your Drupal admin console and click on Install new module button.
  • Install the Drupal SAML IDP 2.0 Single Sign On (SSO) - SAML Identity Provider 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/miniorange_saml_idp/idp_setup

Steps to configure Canvas Lms SAML Single Sign-On (SSO) Login into Drupal site

1. Configure Drupal as Identity Provider

  • Go to IDP Metadata, Copy the IDP Entity ID/Issuer and SAML Login URL and Keep it handy.
  • drupal saml idp - idp metadata tab
  • In the Service Provoder Setup tab, you can enter the name of Service Provider as Canvas (Canvas Lms as SAML SP).
  • Navigate to the Service Provider Setup tab of the miniOrange SAML Identity Provider module on your Drupal site. There are two way to configure your Identity Provider ( Drupal as SAML IDP ):
    • A. By Uploading SP metadata:
    • Click on UPLOAD SP METADATA link.
    • You can either Upload Metadata File and click on Upload button or use a Upload Metadata URL and click on Fetch Metadata.
    • drupal saml idp service provider setup
      B. Manual Configuration:
    • Navigate to Service Provider Setup tab of the miniOrange Drupal IDP module.
    • Provide the required settings (i.e. Service Provider Name, SP Entity ID or Issuer, ACS (Assertion Consumer Service) URL, X.509 Certificate (Optional)) as provided by your Service Provider Canvas ( Canvas Lms as SP ).
    • Service Provider NameEnter any appropriate name for your Service Provider.
      SP EntityIDhttps://your_domain.acme.instructure.com/saml_consum
      ACS URLhttps://your_domain.acme.instructure.com/saml_consume
  • Click on the Save Configuration button to save your configuration. Then click on Test Configuration button to test your configuration.

2. Configure Canvas Lms as Service Provider

  • Login to your Canvas LMS domain as an Account Administrator.
  • Switch to Admin View.
  • SAML Single Sign-On (SSO) Login Canvas Lms (SP) - click admin view Integration with Canvas LMS
  • Go to Courses and under Managed Accounts, click on your domain name.
  • SAML Single Sign-On (SSO) Login Canvas Lms (SP) - click on managed accounts Integrate with Canvas LMS
  • Click on Authentication in the left pane and select SAML from the Choose an authentication service drop down list.
  • SAML Single Sign-On (SSO) Login Canvas Lms (SP) - Authentication setting in Canvas LMS
  • Under Current Integration, click on Add New SAML Config and enter the details as shown:
  • SAML Single Sign-On (SSO) Login Canvas Lms (SP) - new saml configuration in Canvas LMS as sp
    IdP Entity ID Copy IDP Entity ID / Issuer from IDP Metadata tab in Drupal SAML IDP module and paste it.
    Log On URL Copy SAML Login URL from IDP Metadata tab in Drupal SAML IDP module and paste it.
    Log Out URL Copy SAML Logout URI from IDP Metadata tab in Drupal SAML IDP module and paste it.
    Certificate FingerprintFollow the steps below to copy the Thumbprint of certificate:
    1. Open the certificate that was downloaded earlier.
    2. Go to Details and in the field column select Thumbprint.
    3. Copy the Thumbprint that opens in the pane by pressing CTRL+C (Right-Click won’t work!).
    4. Paste the Thumbprint in the Certificate Fingerprint.
    Make sure that there are no spaces in between the Certificate Fingerprint. Remove them manually.
    Login AttributeNameID
    Identifier Formaturn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
    Authentication Contexturn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport
    Login LabelUsername
    Unknown User UrlLeave blank.

Additional Features:

Explore the advanced features offered by the module with full-featured trial. You can initiate the trial request using Request 7-day trial button of the module or reach out to us at drupalsupport@xecurify.com for one-on-one assistance from Drupal expert.

 Case Studies
miniOrange has successfully catered to the use cases of 400+ trusted customers with its highly flexible/customizable Drupal solutions. Feel free to check out some of our unique case studies using this link.
 Other Solutions
Feel free to explore other Drupal solutions that we offer here. The popular solutions used by our trusted customers include 2FA, User Provisioning, Website Security. 
  24*7 Active Support
The Drupal developers at miniOrange offer quick and active support for your queries. We can assist you from choosing the best solution for your use case to deploying and maintaining the solution.
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