Learning Center/OneLogin Documentation/Application Setup

Configuring SAML for Drupal

Thomas Pedersen
posted this on July 25, 2011 10:46 am

The SAML module is compatible with Drupal 7. First add Drupal to your OneLogin account.

  1. Select the SAML option
  2. In the Consumer URL field, enter the value below where mydomain.com is the domain where your Drupal instance is hosted.

    http://mydomain.com/?q=onelogin_saml/consumer 

Configuring Drupal

Perform the following steps to configure SAML in Drupal.

  1. Download the onelogin_saml_drupal.zip file from the link at the bottom of this article.
  2. Go to Modules,click Install New Module and upload the file.
  3. Activate the module.
  4. Click the Configure link for OneLogin SAML in the Operations column.

    drupal-config.png
     
  5. In the Certificate field, paste in the X.509 certificate from your OneLogin account.
  6. In the SAML Login URL field, enter the SAML Login URL from the Drupal app you configured in OneLogin.
  7. Make sure you give administration rights to the Configure SAML Authentication option in Drupal permissions.
By default, OneLogin will sign users in using their email address, but you can override this per user.

Download Module

You can download the Drupal plugin file from the link below.

 

Comments

User photo
Chris Muktar

Is there a Drupal 6 version of this module?

August 05, 2011 03:23 am
User photo
Matthias Fax

Seems not to function with the current Drupal 7 version.

February 27, 2012 05:06 am
User photo
Matthias Fax

I solved the problem and attached a new version of the module.

February 27, 2012 05:13 am
User photo
Luis Velasco
OneLogin Support

Matthias,

Thank you for your help improving our current Plugin for Drupal 7, we've reviewed the code and tested the scenarios and will merge your changes to our repository.

May 10, 2012 08:33 pm
User photo
Luis Velasco
OneLogin Support

Chris,

I've started the develpoment of the plugin for Drupal 6. This will be released in the coming days.

May 10, 2012 08:34 pm