This document describes the configurations required for LDAP integration between the Octopus Authenticator and the LimeSurvey web service.


LimeSurvey integration is supported by configuring the Octopus Authentication Server as an LDAP Proxy. With the LDAP Proxy service, Secret Double Octopus can be configured as an identity provider for the LimeSurvey system using the LDAP protocol.


Prerequisites

Before beginning the integration process, make sure you have administrative access to both the LimeSurvey system and the Secret Double Octopus Management Console.


In addition, verify that:

  • The AuthLDAP plugin is enabled in the LimeSurvey system.

  • A user repository is configured in Secret Double Octopus. (Microsoft Active Directory is the user repository for the integration described in this document.)

    For more details and instructions about corporate directory integration, please refer to the Octopus Management Console Admin Guide.

Integration Workflow

LimeSurvey integration involves the following sequential phases:

Creating the Octopus Authentication LDAP Service

The following procedure explains how to add a service for LimeSurvey in the Octopus Management Console. Some of the service settings will be used later when configuring the IdP in the LimeSurvey console.


To add and configure the LimeSurvey LDAP service:

  1. From the Octopus Management Console, open the Services menu and click Add Service. In the LDAP tile, click Add.



    Then, in the dialog that opens, click Create.



  2. From the service settings, select the Sign on tab. Review / update the following settings:


    Setting

    Description / Notes

    Port

    Enter the port used for communication with the LDAP server. Make sure the port number matches the service provider’s LDAP port number.

    Protocol

    Select LDAP or LDAPS.

    Passwordless

    When enabled, the user’s password on the AD is rotated transparently, allowing passwordless authentication to all integrated services.



  3. At the bottom of the Sign on tab, click Save.

  4. Open the Directories tab and select the checkbox(es) of the directory/directories to be integrated with the Service. Then, click Save.



  5. Open the Users tab and click Add.



    A popup opens, with a list of directories displayed on the left.

  6. Expand the directories list and select the checkboxes of the groups and users that you want to add to the service. Then, click Save to close the popup.

    The groups and users you selected are listed in the Users tab.

  7. At the bottom of the Users tab, click Save. Then, from the toolbar at the top of the page, click PUBLISH and publish your changes.

Configuring the IdP in LimeSurvey

Follow the steps below to configure Secret Double Octopus as an identity provider for LimeSurvey using the LDAP protocol.


To configure the IdP in LimeSurvey:

  1. From the LimeSurvey console, select Configuration. Then, under Settings, select Plugins.



  2. On the Plugins page, select the AuthLDAP plugin.



    Then, open the Settings tab.

  3. Configure the following settings:


    Setting

    Value / Notes

    LDAP server

    FQDN of the Octopus server Enterprise Base URL

    Port number

    Enter the port number configured in the Octopus LDAP service

    LDAP version

    LDAPv3

    Select how to perform authentication

    Search and bind

    Attribute to compare to the given login

    Select the relevant attribute

    Base DN for the user search

    Enter the BaseDN for the user AD search

    Optional DN of the LDAP account

    DN of the delegated AD account

    Password of the LDAP account

    Password for the delegated AD account



  4. Click Save.

Running the Solution

This section describes the user experience of logging into LimeSurvey via the Octopus Authenticator. The authentication process is as follows:

  1. From the LimeSurvey login page, the user (Alice in this example) specifies the following parameters:

    • Authentication method: Alice selects LDAP

    • Username

    • Password: Alice enters any random character (to trigger the push)



  2. Alice clicks Log in.

    A notification then appears on Alice’s Octopus Mobile App, asking for authentication approval.


  3. Alice approves the authentication request using biometrics.

    After successful authentication, Alice is logged into LimeSurvey.


Footer - Secret Double Octopus