SAML Single Sign-On (SSO) into October CMS Using miniOrange

SAML Single Sign-On (SSO) into October CMS Using miniOrange


October CMS Single Sign-On ( SSO ) plugin gives the ability to enable SAML Single Sign-On (SSO) for your October CMS sites. Our October CMS SSO plugin is compatible with all the SAML compliant Identity providers. Here we will go through a step-by-step guide to configure SAML SSO between October CMS site and your Identity Provider.

Pre-requisites

To integrate your Identity Provider(IDP) with October CMS, you need the following items:

  • October CMS should be installed and configured.
  • Download any Front-end user management plugins - RainLab/Buddies.

Download and Installation

  • Login to your October CMS site’s backend: https://example.com/backend.
  • From the admin dashboard, go to Settings from the main navigation bar and select Updates & Plugins.
  • Click on Install plugins and in the search bar type “SAML SSO”.
  • Click on the SAML SP Single Sign-On - SSO search result and the plugin will start installing.
  • October CMS SAML SSO, October as SP

Step 1: Setup miniOrange as Identity Provider

Follow the steps below to configure miniOrange as an Identity Provider

Single Sign On using miniorange, miniorange SSO Login-9  Creating App in miniOrange

  • Go to miniOrange Admin console https://login.xecurify.com/moas/login and login with your miniOrange credentials.
  • From the left menu, go to Apps Manage Apps.

    SAML Single Sign On (SSO) using miniOrange Identity Provider, Go to Manage Apps window
  • In the right upper corner, select Configure Apps.

    SAML Single Sign On (SSO) using miniOrange Identity Provider, Configure SP Application
  • In the search apps textbox, type <application name> (SAML).

    SAML Single Sign On (SSO) using miniOrange, Search SP Application
  • Select searched application and click on Add App.
  • Method 1: Manual Configuration

    • Enter the following the textboxes:
    Custom Application Name App name you like to provide.
    SP Entity ID or Issuer Enter SP Entity ID / Issuer from Service Provider Info tab of the plugin
    ACS URL Enter ACS (Assertion Consumer Service) URL from Service Provider Info tab of the plugin
    Single Logout URL Enter Single Logout URL from Service Provider Info tab of the plugin
  • Method 2: Import SP Metadata:

    • You can also import SP metadata to configure your app.
    • Click on Import SP Metadata button.
    • Enter your Custom Application Name in App Name text box.
    • Upload plugin metadata in form of text, File or URL and Click Import.
    • SAML Single Sign On (SSO) using miniOrange Identity Provider, Import SP Metadata using URL, Text or File
  • Name ID Setup And Attribute Mapping :

    • Enter the attribute name with which you want to log in your application in NameID field.. eg.Username, Email etc.
    • Enter name ID format such as emailAddress, nameid etc. in Name ID Format.
    • Attributes can be mapped using Add Attribute tab.
    • Add attributes such as first name, last name, group Name, etc.with its corresponding value as per shown in image.
    • Multiple attributes can be added using icon
    • SAML Single Sign On (SSO) using miniOrange Identity Provider, Attribute Mapping
  • Select Default from the Group Name dropdown.
  • Enter Policy Name you would like to provide.
  • Select Password from the Login Method Dropdown.
  • Click on Save to add the App.

    SAML Single Sign On (SSO) using miniOrange Identity Provider, Add policy for SP application
  • Navigate to Apps Manage Apps.
  • Click on the metadata link against your app.
  • Download the Metadata XML File or note down the given information and keep it handy to configure the add-on.
  • You can also provide Metadata URL in plugin settings.
  • SAML Single Sign On (SSO) using miniOrange Identity Provider, Download IDP Metadata

Steps 2 : October CMS as SP


  • Click on Single Sign On menu option from the main navigation bar at the top of your page.
  • You will see the Plugin Settings page. We will first configure the IdP Settings.
  • Fill out the required fields according to the information provided by your Identity Provider. You can refer to the example given below.
  • For Example:
  • IdP Name:myIDP
    IdP Entity Id:https://login.xecurify.com/moas/
    SAML Login URL:https://login.xecurify.com/moas/idp/samlsso
    SAML x509 Certificate:Certificate provided by your IdP.
  • Click on Save button.
  • October CMS SAML SSO, October as SP
  • The SP Settings tab has the data that you will need to provide to your IdP.
  • October CMS SAML SSO, October as SP
  • Click on the Test Configuration button and the user details will be fetched. Test configuration will show the attributes that are received and are mapped by attribute mapping.
  • October CMS SAML SSO, October as SP

Step 3: Attribute Mapping

  • Attribute Mapping feature allows you to map the user attributes sent by the IDP during SSO to the user attributes at October CMS.
  • Go to Attribute Mapping menu option from the main navigation bar at the top of your page.
  • It provides the Custom Atrribute Mapping feature in Premium plugin.
  • October CMS SAML SSO, October as SP

  • Click on Single Sign On menu option from the main navigation bar at the top of your page.
  • You will see the Plugin Settings page. We will first configure the IdP Settings.
  • Fill out the required fields according to the information provided by your Identity Provider. You can refer to the example given below.
  • For Example:
  • IdP Name:myIDP
    IdP Entity Id:https://login.xecurify.com/moas/
    SAML Login URL:https://login.xecurify.com/moas/idp/samlsso
    SAML Logout URL:https://login.xecurify.com/moas/idp/samllogout/
    SAML x509 Certificate:Certificate provided by your IdP.
  • Click on Save button.
  • October CMS SAML SSO, October as SP
  • The SP Settings tab has the data that you will need to provide to your IdP.
  • October CMS SAML SSO, October as SP
  • Click on the Test Configuration button and the user details will be fetched. Test configuration will show the attributes that are received and are mapped by attribute mapping.
  • October CMS SAML SSO, October as SP

Step 3: Attribute Mapping

  • Attribute Mapping feature allows you to map the user attributes sent by the IDP during SSO to the user attributes at October CMS.
  • Go to Attribute Mapping menu option from the main navigation bar at the top of your page.
  • It also provide Custom Attribute mapping feature, which allows you to map any attribute sent by the IDP to the October CMS.
  • You can map the attribute names received in Test Configuration to the user credentials of your October CMS users.
  • October CMS SAML SSO, October as SP

Step 4: SSO Button Component

  • Click on CMS from the main navigation and select the page that you want to place the button on from the Pages menu on the left-hand side.
  • Click on Components and click on SAML 2.0 SP to reveal the SSO Button component.
  • Drag and drop the component on to your selected page. Hit save and preview.
  • Click on the Single Sign-On (SSO) button to start the authentication flow for frontend users.
  • October CMS SAML SSO, October as SP
  • The button for Backend login screen is generated automatically.

Step 5: SSO Options

  • In the IDP Settings tab, you can configure Force Authentication to force login screen at IdP every time your users are redirected for SSO.
  • You can configure the Login Binding type to choose the method of sending the SAML request.
  • You can configure the Single Logout URL to send a logout request to the IdP when a user logs out of your OctoberCMS site.
  • October CMS SAML SSO, October as SP
  • In the SP Settings tab, you can configure Auto-Redirect to redirect users to IdP when they land on your site.
  • You can configure the Post-Login and Post-Logout URLs to redirect users after they SSO and Single Logout.
  • October CMS SAML SSO, October as SP
  • You can access the documentation for more details by going to Settings > Updates & Plugins > SAML 2.0 SP.

If you are looking for anything which you cannot find, please drop us an email on info@xecurify.com