Open Telekom Cloud

# Setting up MIRACL Trust SSO as an Identity Provider Within Open Telekom Cloud

These instructions are up-to-date at the time of writing, but you should refer back to official OTC documentation to check for any changes. We cannot guarantee the accuracy of our SP-specific guidance.

  1. Log in to the Open Telekom Cloud management console.

  2. Choose Mgmt & Deployment > Identity and Access Management.

  3. In the navigation pane, choose Identity Provider The following window is displayed. Create Identity Provider

  4. Click Create Identity Provider The following dialog box is displayed. New Identity Provider

  5. Set Name, Protocol(SAML), and Status(enabled) and fill in Description(optional).

  6. Click OK. A confirmation message is displayed which disappears after a few seconds.

  7. Click the Edit link against the IdP that was just created.

  8. Upload the MIRACL Trust metadata by pointing to the locally saved .xml file:

    Metadata File Upload

    The metadata can be downloaded from http://<yourssoip>/metadata. Note that, for a production setup, if you manually download your IdP metadata file, the validUntil date at the top of the file needs to be edited to an appropriate date (it defaults to 48hrs from the current date).

  9. Set the Identity Conversion Rule by clicking on Edit Rule. The following Identity Conversion Rule is based on a regular expression and would let anyone with identity domain log in.

        "local": [
            "user": {
              "name": "{0}"
            "group": {
              "name": "{1}"
        "remote": [
            "type": "__NAMEID__"
            "type": "groups"
            "any_one_of": [
            "regex": true,
            "type": "__NAMEID__"

# Configuring Your Open Telekom Cloud Profile With MIRACL Trust SSO

  1. Edit /etc/miracl-sso/service_providers/otc.yaml:

        tsystems_otc_admin: >-
            <Attribute FriendlyName="mail" Name="urn:oid:0.9.2342.19200300.100.1.3"
            <Attribute FriendlyName="groups" Name="urn:oid:"
        description: T-Systems OTC
        name: OTC
        relay_state: ""
        metadata: >-
          <!-- insert downloaded SP metatadata here -->
        sign_response: true
        sign_assertion: false
        encrypt_assertion: true
        - - email: ^[^@]$
          attribute: tsystems_otc_admin
  2. Note that the name under which the SP is registered in the sp section is used to create your IdP-initiated login url, i.e. https://<yourssoip>/login/otc.

  3. The above login_url is what has been issued to you by the OTC admin console, as seen in point 4 in the first section of this guide.

  4. Note also that the previously configured SAML attribute is invoked with attribute: tsystems_otc_admin.

  5. The OTC SP metadata is available from and should be pasted into the above metadata field.

    If you are using JSON format for your config file, the downloaded XML file must be converted to a single line and the " characters need to be escaped with \ to meet the json structure requirements. This can be achieved by running the following command on the downloaded metadata.xml file:

    echo -e "\n"$(cat metadata.xml | tr -d '\n' | sed -E 's/"/\\"/g')"\n"

    The contents then are output in the terminal in a format that can be pasted into the metadata field of a JSON file.

  6. In the authorize subsection, you can control what users are allowed to attempt login by following one or both of the below steps:

    • Call up an LDAP setup from an ldap.yaml file stored in /etc/miracl-sso/integrations.
    • Configure a regex list of email addresses/domains. The above config shows an example of how you would use email: ^[^@]$ to only allow users from a certain email domain to login.

    Note that if this is not set correctly, you receive ‘unauthorized user’ messages.

    For more detailed info on using LDAP, API and/or regex to control authorized users, please see the authorization menu section.

  7. Save and close the file.

  8. In your /etc/miracl-sso/config.yaml file make sure you add otc.yaml to the list of ‘includes’:

      - core.yaml
    # service providers
      - service_providers/otc.yaml
  9. As always after config changes, restart the server.

  10. Now your service is configured, you can visit https://<yourssoip>/login/otc or https://<yourssoip>/services to log in to the service using IdP-initiated login, or visit the OTC login page and SP-initiated login are triggered automatically.

  11. You are able to login using the in-browser PIN pad or with the MIRACL Trust app. When logging in to your SSO service for the first time you are asked to register an email address so as to confirm your identity and register you as a user.