Administrators Menu
Where can I find XML file?
How to connect active directory to Cognito hosted UI
To be able to use this feature, first you need to access your azure portal and then click on Azure Active Directory as shown below:
![XML1.png 952](https://files.readme.io/aca0165-XML1.png)
Then on the sidebar to your left you need to select “Enterprise applications”. After that select “new application” and then click on “Create your own application”.
![XML2.png 499](https://files.readme.io/f17cc60-XML2.png)
Then a sidebar will appear to your right, first write the name of your application and then on “What are you looking to do with your application?” select the third option (Non-gallery).
![XML3.png 477](https://files.readme.io/c0f8bca-XML3.png)
When you finished creating your application, in getting started flow, select the second option: “Set up single sing on”.
![XML4.png 1239](https://files.readme.io/593021b-XML4.png)
On the next page, you need to select SAML as your single sign on method.
![XML5.png 1195](https://files.readme.io/5c9428a-XML5.png)
On the next page inside “Basic SAML Configuration” card, as shown below, you have to fill in two required fields. The first one is “Identifier (Entity ID)” and the second one is “Reply URL (Assertion consumer service URL)”. In order to fill in those two fields click on the edit button on top right.
![XML6.png 631](https://files.readme.io/96b0e0f-XML6.png)
The input value of those fields should follow a certain format so that AWS Cognito will recognize them. Here is the format for “Identifier”: urn:amazon:cognito:sp: Here is the format for “Reply URL”: https://.auth..amazoncognito.com/saml2/idpresponse Here you can read more about these values and how to find your own “domain prefix”, “region” and “user pool ID”.
![XML7.png 649](https://files.readme.io/d391579-XML7.png)
You don’t need to change anything else in your SSO application settings. At the end you have to click on the Download button in front of “Federation Metadata XML” and you are all set.
![XML8.png 576](https://files.readme.io/4cbb0f7-XML8.png)
Updated almost 2 years ago