SAML Single Sign On (SSO) into Drupal using Google Apps as IDP

Drupal SAML Google Apps SSO setup will allow your user to login to your Drupal site using their Google Apps Credentials. The Drupal SAML module gives the ability to enable SAML Single Sign-On for Drupal. This module is compatible with all SAML Identity Providers. Here we will go through a guide to configure SAML SSO between Drupal and Google Idp. By the end of this guide, users from your Identity Provider should be able to login into the Drupal site.

If you have any doubts or queries, you can contact us at We will help you to configure the module.

You can refer the steps to configure Google Apps with the Drupal SAML module from the video or documentation given below

Step 1: Configuring Google Apps as Identity Provider (IdP)

  • Go to and login to your Google Apps Administrator account.
  • On the Admin Home, select More Controls Apps.
  • drupal saml sp select more control apps
  • In the App Settings, select SAML apps.
  • Click on the "+" button at the bottom right corner to create a new SAML app.
  • Now select SETUP MY OWN CUSTOM APP from the popup.
  • drupal saml sp select saml apps
  • On the next screen, note down the SSO URL, Entity ID URLs and download the certificate. These will be required while configuring the Module.
  • Once you have noted the URLs and downloaded the certificate, click on Next.
  • Enter the Application Name and Description. Click on Next.
  • Configure the following things on the next screen:
    ACS URL ACS (Assertion Consumer Service) URL from the Module under Service Provider Metadata Tab.
    Entity ID SP-EntityID / Issuer from the Module under Service Provider Metadata Tab.
    Signed Response Checked
    Name ID Select Basic Information from the first dropdown. Then Primary Email from the second dropdown.
  • Google-apps_sso_Google-appsimage3
  • Click on Next. Then click on Finish.
  • Now go to SAML Apps again. Click on the menu link corresponding to your app (See the screenshot). Then select ON for everyone.
  • drupal saml sp saml apps
  • From the popup, Click on TURN ON FOR EVERYONE.

Step 2: Configuring Drupal as Service Provider (SP)

  • In miniOrange SAML Module, go to Service Provider Setup Tab. Enter the following values:
    Identity Provider Name: Enter your IdP name. For example : GoogleApps
    SAML Login URL: The SSO URL that you noted while configuring the Drupal site in Google Apps.
    IdP Entity ID or Issuer: The Entity ID that you noted while configuring the Drupal site in Google Apps.
    X.509 Certificate: Open the downloaded certificate in the Notepad. Copy/paste the entire content of the file here.

Business Trial For Free

If you don't find what you are looking for, please contact us at or call us at +1 978 658 9387.

Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to