> For the complete documentation index, see [llms.txt](https://docs.cyberawaresecurity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cyberawaresecurity.com/admin-portal/sso-single-sign-on.md).

# SSO (Single Sign-on)

## SSO (Single Sign-on) Guide

In this article, we explain the process of how an admin can set up the **SSO (Single Sign-on)** for their student (**/learn**) portal. This will enable users to sign into the portal application using their **Azure Active Directory** credentials.

&#x20;

**1.** Access your Azure portal and navigate to **Azure Active Directory.**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FI8wFR5Qe4UaZR6YurnOO%2FSSO_1.png?alt=media\&token=88324695-ea31-49e3-9e3b-3e52f75104b6)

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FWhZeLIl54nbZ1y2ESXhR%2FSSO_2.png?alt=media\&token=47190e04-2339-46ba-9e26-b72487a06f6e)

Please be advised that in order to enable SSO for users, they should exist in both the **cyberawaresecurity** and **Azure** platform.

&#x20;

**2.** From the menu on the left, go to **Enterprise applications.**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F4crQQJEZZbuq5izQq7JS%2FSSO_3.png?alt=media\&token=6f13dd45-840b-47b3-b50a-2c0f693333fc)

**3.** On the new directory, click on **New application.**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F59GegMxljPQubBXTFZ9Y%2FSSO_4.png?alt=media\&token=a0987317-9ff2-403f-84a3-fbd0c39c5c4e)

You should get the following output:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FIHu1g6xDG0MYR1ZVtQT0%2FSSO_5.png?alt=media\&token=f38cdd4c-10dc-4b03-8849-4b67554ba5f7)

**4.** Select **Create your own application:**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FVfvTLLoZsD5tgqt0GgYn%2FSSO_6.png?alt=media\&token=ef592bb8-25cf-43b9-a58a-04b47275347a)

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F52HoYH51mRshFfogcfTA%2FSSO_7.png?alt=media\&token=fa7048bb-e896-42ce-a0ad-07b75aea16b5)

**5.** Enter a name for your application. In this instance we will use **Examine** for demonstration purposes:

<div align="left"><img src="https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F865kNjTjc1U861BO0Js5%2FSSO_8.png?alt=media&amp;token=b34a0e24-ac7e-42fe-8a36-a4a2d57c19dc" alt=""></div>

**6.** Make sure that the last option which states **Integrate any other application you don’t find in the gallery (Non-gallery)** is selected and click on **Create:**

<div align="left"><img src="https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FNRmj5TaUynajPQIGVak5%2FSSO_9.png?alt=media&amp;token=5f6a4f75-7d47-4f09-828e-bd3cf980ac1e" alt=""></div>

It will direct you to **Browse Azure AD Gallery.** From there, you will be able to see a **Getting Started** section:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FrrCuF43NBF1zP7LAAwPp%2FSSO_10.png?alt=media\&token=3b1ffe3d-47e8-4c51-acac-bdff1cdf4ddd)

**7.** Click on the **Get started** option of the second step indicating **Set up single sign on.**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2Fbk4lrU0Xd6aLFCOHZgnz%2FSSO_11.png?alt=media\&token=34cea7f4-7b9e-41f1-946c-de1889111e85)

**8.** Choose the **SAML** option from the new prompt:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2Fo4PcscUSO1s3Fx8OJdWf%2FSSO_12.png?alt=media\&token=b0f3e585-fe7f-49f6-9471-04555c46c011)

We will demonstrate **two ways** in which we can configure the SSO.

&#x20;

**9.** But before we do that, let's see how we can add **Users and groups:**

<figure><img src="https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F3gNGPHsHcsAUVAcQ02nl%2FSTEP9.jpg?alt=media&amp;token=32c2d017-5bcf-4a32-b423-481e522b99a6" alt=""><figcaption></figcaption></figure>

**10.** Click on the **Add user/group** option:

<figure><img src="https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2Fy0DCJjHqnvNC5KXSNeNL%2FSTEP10.jpg?alt=media&amp;token=64cb7bb8-cce9-4237-a554-d6873696a3c7" alt=""><figcaption></figcaption></figure>

You will be prompted with the following:

<figure><img src="https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F6q1iI2deJdI3CqUEv9K3%2FSTEP11.jpg?alt=media&amp;token=0df08551-0dd9-47ff-ae89-fcaee64c21e0" alt=""><figcaption></figcaption></figure>

**11.** From there, select the **None Selected** option to view the available **Users and groups:**

<figure><img src="https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FSSsQCICz0riZYpgGvm3Q%2FSTEP12.jpg?alt=media&amp;token=3f856aa9-c503-408d-a59a-7c4222e4a0db" alt=""><figcaption></figcaption></figure>

**12.** For this example, we will choose 1 group and 1 user and click on **Select:**

<figure><img src="https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FseefTnLyIHVfIL9x2ZZN%2FSTEP13.jpg?alt=media&amp;token=4e5b2a9c-1ad0-4eb9-8ebc-24500dabc7e2" alt=""><figcaption></figcaption></figure>

**13.** Click on **Assign** to finalise the process.

<figure><img src="https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FHotiHHKtRL4YyP5dB0rj%2FSTEP14.jpg?alt=media&amp;token=93e01f03-6a7d-41cc-86dd-34ecd795fd77" alt=""><figcaption></figcaption></figure>

**14.** As we can see, the **Application assignment succeeded!**

<figure><img src="https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F51MYGSJcQedDEzcLEsDM%2FSTEP15.jpg?alt=media&amp;token=1c466b97-f0ac-40c4-ba28-9c50581645b1" alt=""><figcaption></figcaption></figure>

**15.** Firstly, we will show the way where we **manually** configure the **Basic SAML Configuration.** To do that, click on the **Edit** button:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FAwa3glXFcPE9RrqiZlQR%2FSSO_13.png?alt=media\&token=6fcabd9b-8ab6-49d2-ae72-094224580ccc)

You should enter the links required:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FONxwRlCj5e6L1nkfsONA%2FSSO_14.png?alt=media\&token=cc4d6808-b6de-4ab9-9c5c-cb4609b05551)

**16.** The **Entity ID** is the actual URL of the portal.

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FGUQIhgmF5ODs6tQHVbCz%2FSSO_15.png?alt=media\&token=d150acce-85f9-4a04-b39f-c26dd9892274)

**17.** The **Reply URL** is the URL of the portal with a **/saml/acs** added at the end.

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FWOSpspUnutNYhLw1mLIL%2FSSO_16.png?alt=media\&token=5a278cfc-04f9-4ba9-a8f9-7287a29ade2c)

**18.** The **Sign on URL** or the **student portal link,** is essentially the URL of the portal with a **/learn** at the end.

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FwGRQNrMBjja3ameorlKS%2FSSO_17.png?alt=media\&token=07194cbe-de70-43ba-ab39-a23a7beaefa8)

**19.** Finally, enter the **Logout Url** which is the **portal’s URL** with **/saml/slo** added at the end of the link.

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F9jeZBM0VHUXfomBefuaL%2FSSO_18.png?alt=media\&token=0d94e404-8eb3-457b-b37a-73604b25f321)

**20.** Let’s make an example:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F5ylhFplziQBrCEkcc7dA%2FSSO_19.png?alt=media\&token=5cc713b0-240d-4ffb-8351-32ab4521d636)

**21.** At the **Entity ID,** click on the **trash can** button next to the **default URL** to **delete** it:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FWveLlDxJCudffaMVyjGH%2FSSO_20.png?alt=media\&token=a35dca2f-8a9b-46fe-b932-625bdc424d67)

This will automatically set our link as **Default:**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FbK96IbWW69vHlHzel6GV%2FSSO_21.png?alt=media\&token=2f3d6079-92c1-4fb8-9c69-1a308187c708)

**22.** Click on **Save** to proceed.

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FPwSBYgRePJvfLzHOLSDw%2FSSO_22.png?alt=media\&token=6cbc425d-3101-4f47-9bf5-52b4896ce6d9)

**23.** As we can see, the single sign-on configuration was saved successfully!

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FreMznzBvWrbeurhxhlyW%2FSSO_23.png?alt=media\&token=e9db9735-b26b-4dbd-a0b8-abec32648500)

**24.** As a next step, you will have to navigate back to the **Set up Single Sign-On with SAML:**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F6REKg3mePHNppoG0fpbe%2FSSO_24.png?alt=media\&token=be8760ed-2e31-4514-89e9-db3f94d54571)

**25.** Moreover, in a new tab or window, open and log in to your **cyberawaresecurity** platform branch. This is essentially your **Entity ID URL,** so for this demonstration we will be using the **examine:**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FjOAnBQY3Gr4lBQYu7JLa%2FSSO_25.png?alt=media\&token=b5a84866-d657-4ae3-bf93-c348df078474)

**26.** To enable Single Sign-on, scroll down and click on the **SSO (Single Sign-on)** section:

<div align="left"><img src="https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FwksjCa4X1FCN2LlrlMJP%2FSSO_26.png?alt=media&amp;token=aad96cfe-9c9a-4e67-ac7f-faa0bc140c9d" alt=""></div>

**27.** From there, click on the button right next to **Enable Single Sign-on.**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FQ8a0bU2nftbCe6OpIBrB%2FSSO_27.png?alt=media\&token=d2a323e3-307d-4617-a9f5-8dee42c2edcf)

You should get the following output:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FSJKn4fWjcmF602tVakJr%2FSSO_28.png?alt=media\&token=319fee33-d0a3-49d0-9a60-6e3a54bb1bd5)

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F510Y87HZjLhmcG9AJE1g%2FSSO_29.png?alt=media\&token=52f97d48-d788-41d0-9bee-90f5523f329b)

**28.** We will take the information required from **Azure.** Switch back to your **Set up Single Sign-On with SAML** window:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FuzL5zYnA2bHrKRRVaIiD%2FSSO_30.png?alt=media\&token=63f75c3e-7a47-4e80-b70e-064c0d26ca0a)

**29.** Scroll down to the **3rd point** called **SAML Signing Certificate** and **copy** the **App Federation Metadata Url.** To do that, **click** on the indicated button of the following screenshot:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FchqKnxhf2KrYbhp8l0AN%2FSSO_31.png?alt=media\&token=6df7e9c2-0de0-4e4e-93fc-47318bdd0c9a)

This will be your **IDP Metadata URL:**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FaBjb3ZjOxL5YK9dIjSch%2FSSO_32.png?alt=media\&token=82711bc7-7f82-4a1d-aa13-6723119c07bf)

**30.** Let’s use our **IDP Metadata URL** for demonstration:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F5nqQGGLpNY8UZxd57tiE%2FSSO_33.png?alt=media\&token=059efd90-9027-4c56-b99e-9aa6f964c163)

For the **Attributes & Claims** records of the **SSO Configuration,** you will have to navigate to the **User Attributes & Claims.**

&#x20;

**31.** From the **Set up Single Sign-On with SAML** window, find the **2nd point** called **User Attributes & Claims** and click on the **Edit** button:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FkwCp9hMlsTdeR2G0QOeB%2FSSO_34.png?alt=media\&token=f82e1d6a-87a7-4ac5-bd9f-6c2f66131d95)

You should get the following output:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FizqjP5Uo4ArAn3kiNTFc%2FSSO_35.png?alt=media\&token=f21b6314-8c2f-4b93-87da-73af2041bdf8)

**32.** Before we start copying everything to the SSO Configuration, there is a change we must apply. Click on the **user.mail** attribute so we can edit:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FCOmrPRPUlRjAdgSmzPu9%2FSSO_36.png?alt=media\&token=d163c9be-f759-4896-b1d1-4bb7b6e09727)

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FHTRw9dlF9utrWgtqSnvF%2FSSO_37.png?alt=media\&token=1b82aaaf-35b3-447b-b99e-cd1f96224960)

**33.** As guided in the **Required claim,** let’s **replace** the **user.mail** with **user.userprincipalname:**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FEOFyGxmPK7figgNQdPPp%2FSSO_38.png?alt=media\&token=a8fde878-6ee5-4977-be80-0281c1db67ab)

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FZfNd4ARbYMDpooCEulhh%2FSSO_39.png?alt=media\&token=03290c80-4dce-46dc-ab51-e3f3ce0ae960)

**34.** Click on **Save** to apply the changes:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FcgvbW94Jba5OXtevxXUW%2FSSO_40.png?alt=media\&token=e9026c6d-5297-4857-8e4b-245a419301ea)

**35.** As we can see, the value has been replaced successfully!

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FzhMLzPsrPgKU1b1MYFMV%2FSSO_41.png?alt=media\&token=05cb5eba-1c9b-4443-a6c9-507dbe2b498d)

**36.** Finally, let’s enter the rest of the attributes, starting with **Unique ID.** This would be the suggested URL, but we replace the **/emailaddress** with **/mail** at the end of the link.

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FS4YruqORv9I7Dp9RZTpJ%2FSSO_42.png?alt=media\&token=62cf39eb-eec8-4522-802a-ff156bdd29a6)

In other words:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F0qtsi7BT45SNWSTy4kph%2FSSO_43.png?alt=media\&token=0745336c-8200-441b-9f76-60e31cfb963c)

**37.** The rest of the details we can just copy and paste accordingly:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FGsjnURu5Iq2CbRuedDU2%2FSSO_44.png?alt=media\&token=8aa2ca75-d5a6-4e13-9a4b-1b512b4fbed9)

**38.** Click on the **Save** button:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FDTuMOURN6wUFv273NIIK%2FSSO_45.png?alt=media\&token=9b901527-6020-4f52-8e38-484ab96dd120)

**39.** As we can see, the SSO configuration was updated successfully!

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FbqsEyAOTnObGdetU5zmX%2FSSO_46.png?alt=media\&token=07c13821-e280-452b-9bbe-9408871c08d2)

**40.** Let’s also demonstrate the **alternative** way to configure SSO where the **Basic SAML Configuration** is configured **automatically.** To do that, complete the **first 8 steps.** You should reach the **Set up Single Sign-On with SAML** window:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2Ftg2VkJIbopjv6e0oPrC6%2FSSO_47.png?alt=media\&token=19ab7657-301b-4b5e-b9b2-f1b2cdad8aa8)

**41.** Select the **Edit** button of the **Basic SAML Configuration:**

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FMSQqDnqhm9q9VVhSSPRV%2FSSO_48.png?alt=media\&token=1be19bc1-3959-43be-88ff-12bfd780fcb3)

You should enter the links required:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2Fcx2rFisLiTDLGc24b6dL%2FSSO_49.png?alt=media\&token=05ed8b5d-ded2-4c16-b06a-5e3e4be878a0)

**42.** The links are the same as before, so let’s enter them and save the changes!

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2Fzqsjjxx43SxW2E3e3ZyT%2FSSO_50.png?alt=media\&token=76ceeead-d4e6-4e98-94e4-04da40943ebb)

**43.** As we can see, the **single sign-on configuration** was saved successfully!

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FM3M4GzwFicyV8HKl80kq%2FSSO_51.png?alt=media\&token=70bd6669-2535-4266-be4c-227eb7ccdc59)

**44.** Finally, complete the rest of the steps (**19-33**) so the SSO configuration is in place, and you reach the confirmation prompt:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FYXSw8rOOjIrvEJkaK5f9%2FSSO_52.png?alt=media\&token=c4dc5491-e1b2-4417-be94-dd92aa3a8180)

**45.** From there, click on the **Download Metadata XML** button:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FJDRAUP3GScl6wALFEJP7%2FSSO_53.png?alt=media\&token=c0a2d1cf-0ebb-4580-b24f-99c5c8eb75e1)

You should get the following file:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FMp1zDoEKR3DhgQ9XoXnD%2FSSO_54.png?alt=media\&token=1ada900b-cfd6-475a-ba3c-6f55de59c1c8)

**46.** To conclude the process, switch back to your **Set up Single Sign-On with SAML** window and click on the **Upload metadata file** option:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FQyCfj5BZyVWaCOIxVZLM%2FSSO_55.png?alt=media\&token=b74d0239-b6a8-4835-98a5-016e27566546)

**47.** Enter the **metadata** file and click on the **Add** button:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FNduOTh7NCEiGYmy56pu6%2FSSO_56.png?alt=media\&token=dce42d1c-a01c-4f50-9ca5-75ccb65ca661)

**48.** The **SAML** file will be uploaded as expected and the **Basic SAML Configuration** prompt will pop up:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FZm3Ja1XPAzmfJzOlC0OF%2FSSO_57.png?alt=media\&token=79c132d6-4930-4ddb-bee6-2db11de00821)

**49.** Click on the **Save** button to apply the changes:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2F510zM9OpHLMSYmZoU9Hs%2FSSO_58.png?alt=media\&token=f522624b-1622-4a99-869b-2f6e4e39338c)

**50.** As expected, the configuration was saved successfully!

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FNlpmX7qXHDvcOovKvMPd%2FSSO_59.png?alt=media\&token=fa69cd9c-ae37-4105-bc28-b8c9cbe94495)

**51.** Close the **Basic SAML Configuration** prompt to view the added details:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FudVn4ZZSNSKpW0eABMT4%2FSSO_60.png?alt=media\&token=e711cd41-b5e5-409c-94f0-81703960ce08)

**52.** You can now go ahead and login as a user in the student (**/learn**) portal. Since SSO has been enabled, you will be redirected to the Microsoft login screen:

![](https://787872742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdbDWFUV8KfahpvaDhzuK%2Fuploads%2FbAFsDj3rWXW5yao6cN57%2FSSO_61.png?alt=media\&token=e59a9738-e5ce-4bda-b66f-27b87b8bcb27)
