This content is being deprecated.
Please see our new Kisi Docs portal at docs.kisi.io
Relevant section: Azure Active Directory
SSO requires a Kisi Organization license. Please contact Kisi Support to learn more and upgrade your account.
Kisi supports SSO (Single Sign-On) with Microsoft Azure as a way of authentication for your Organization. Below are the steps to our self-service SSO configuration. You may also want to check our step-by-step tutorial on the Azure website.
Setting up SSO with Azure
To set up SSO, you must be the Kisi Organization Owner. For additional guidance on SSO setup, please refer to our Kisi API documentation.
- Sign in to Azure Portal
- On the left navigation pane, select the Azure Active Directory service.
- Navigate to Enterprise Applications and then select All Applications.
- To add a new application, select New application.
- In the Add from the gallery section, type Kisi Physical Security in the search box.
- Select Kisi Physical Security from the results panel and click on Create.
- Wait a few seconds while the app is added to your tenant. Once the Kisi app is added, on the Kisi Physical Security application integration page, find the Manage section and select Single sign-on.
-
On the Select a single sign-on method page, select SAML.
-
On the Set up Single sign-on with SAML page, click on Edit under the Basic SAML Configuration.
-
On the Basic SAML Configuration section, if you wish to configure the application in IDP initiated mode, enter the values for the following fields:
-
In the Identifier text box, type a URL using the following pattern:
https://api.kisi.io/saml/metadata
-
In the Reply URL text box, type a URL using the following pattern:
https://api.kisi.io/saml/consume/<DOMAIN>
-
- Click Set additional URLs and perform the following step if you wish to configure the application in SP initiated mode:
- In the Sign-on URL text box, type a URL using the following pattern:
https://web.kisi.io/organizations/sign_in?domain=<DOMAIN>
- In the Sign-on URL text box, type a URL using the following pattern:
-
Kisi expects the SAML assertions in a specific format, which requires you to add custom attribute mappings to your SAML token attributes configuration under User Attributes & Claims. The following screenshot shows the list of default attributes.
-
In addition to the above, Kisi application expects few more attributes to be passed back in SAML response which is shown below. These attributes are also pre-populated but you can review them as per your requirements.
- FirstName - user.givenname
- LastName - user.surname
- Email - user.userprincipalname
-
Under SAML Signing Certificate, copy the App Federation Metadata Url and save it on your computer.
Create an Azure AD test user
To create an Azure AD test user:
- From the left pane in the Azure portal, select Azure Active Directory, select Users, and then select All users.
- Select New user at the top of the screen.
- In the User properties, follow these steps:
- Fill in the Name field.
- In the User name field, the user email.
- Select the Show password check box, and then write down the value that's displayed in the Password box.
- Click Create.
Assign the Azure AD test user
To assign the Azure AD test user:
-
In the Azure Portal, click on Azure Active Directory select Enterprise Applications
-
Select All applications and click on the Kisi Physical Security app.
-
In the app's overview page, find the Manage section and select Users and groups.
-
Select Add user/group
-
In the Add Assignment dialogue, select the desired user(s) from the Users list
-
If you're expecting any role value in the SAML assertion, in the Select Role field, select the appropriate role for the user from the list and then click the Select button at the bottom of the screen.
-
Click the Assign button (at the bottom).
In Kisi:
- Sign in to your Kisi Organization account
- Under Setup, click on SSO & SCIM and paste the Metadata URL
- Click Save
Provisioning and Deprovisioning Members with Azure (SCIM)
To configure SCIM (System for Cross-domain Identity Management) provisioning and deprovisioning of Kisi members, please follow the steps in this article.