Tutorial

Setting up Single Sing-On between Azure Active Directory and GoodData

  • 14 April 2021
  • 0 replies
  • 39 views

Userlevel 1
  • Community Manager
  • 15 replies

Azure active directory supports SAML2.0, therefore it’s possible to set up SSO connection to GoodData, where the Azure AD will serve as an Identity provider.

This article describes necessary steps to set up this connection for a simple identity provider initiated scenario.

 

Step 1: Add GoodData as a new enterprise application

 

  1. Log into your azure portal at http://portal.azure.com

  2. Go to Azure active directory (found among azure services)

  3. In the azure active directory click enterprise applications

  4. Click + New application

  5. Click + Create your own application and in the subsequent dialogue, you should name it (it is only the identifier of the app inside of your azure) and choose Integrate any other application you don’t find in the gallery

  6. Click create

 

Step 2: Configure the SSO for the newly created application

 

In the application click on Single Sign-On (either on the side panel or in the app overview) and select SAML

Now you are in the SAML configuration interface

  1. Identifier (Entity ID) - specifies the IdP identifier inside of the AD. It is not important for integrating to GoodData, and can be set to any value, don’t forget to set the value as default.

    Reply URL - API endpoint on GoodData side that will accept and process the SAML message - should be set to https://<your.gooddata.domain>/gdc/account/samllogin

    Sign On URL - you can leave this empty

    Relay State - specifies where you will be redirected after successful login (default is /dashboard.html, but can be set to specific GD dashboard if you want to redirect users there).

    Logout URL - you can either leave it empty or use https://<your.gooddata.domain>/gdc/account/samllogout if you wish to use single logout 

  2. User Attributes & Claims
    You only need one claim - Unique User Identifier (Name ID) (found under required claims), you can delete the rest (all additional claims).
    Click on the Unique User Identifier (Name ID) claim - name identifier format should be email address and the source attribute should correspond to the GoodData login name (most likely user.mail)

  3. SAML Signing Certificate

    1. In signing option select Sign SAML response and assertion

    2. Signing algorithm should be SHA-256

That should be all regarding SSO config in azure.

 

Step 3: Assign users and groups to the application

 

This should be done in the Users and Groups tab within your application

By clicking + add user/group, you should be able to add the users or user groups you want to be able to use the SSO.

 

Step 4: Setup the Identity provider on the GoodData side

 

  1. In the Single sign-on overview, there is an option to download Federation Metadata XML. This file should then be sent to GoodData Support along with the SSO provider name (this will identify the Identity provider on GD side).  

  2. GoodData Support will configure it on our side.

  3. Users in GoodData need to be assigned this SSO provider name in their configuration. This can be done via API by domain admin: https://help.gooddata.com/api#/reference/users/manage-users/update-user-information (ssoProvider parameter), via users brick: https://help.gooddata.com/doc/enterprise/en/workspace-and-user-administration/managing-workspaces-via-life-cycle-management/bricks/users-brick (sso_provider parameter) or GoodData support can help you in case it’s only for a couple of users for testing purposes. Each user can have multiple sso providers assigned (the values should be just separated by comma "ssoProvider": "sso_provider_1, sso_provider_2")

 

Step 5: Test the connection

 

Once everything is setup you can use several ways to test the SSO connection from azure to GoodData

  1. In the azure SSO section, there is a test button, that should allow you to test the connection 

  2. In the APP properties, you can find a User access URL link. If you navigate to this URL, azure should trigger the SSO connection to GoodData

  3. My Apps Secure Sign-in browser extension allows you to click the app and trigger the SSO connection.

 

 


0 replies

Be the first to reply!

Reply