Automation Suite SAML 2.0 metadata url not working

I’m reading from https://docs.uipath.com/automation-suite/automation-suite/2023.10/admin-guide/configuring-sso-saml-20 that “The SAML2 metadata of the UiPath Identity Server is available for download in XML format at https://baseURL/identity/Saml2” but when I do that to my instance it does NOT work

https://uipath.int.xxxx.com/identity/Saml2 just redirects me to https://uipath.int.xxxxx.com/portal_/unregistered?serviceType=orchestrator&organizationName=identity&tenantName=Saml2

it seems like it interpreting “identity” as organization and Saml2 as tenant.

I also tried with https://uipath.int.xxxx.com/Default/DefaultTenant/identity/Saml2 but it get “An unknown error has occurred. (#200)”

I also tried with “identity_” instead of “identity” since I say in some other place but it does not work either

https://uipath.int.xxxxx.com/identity_/Saml2
returns {"StatusCode":500,"StatusDescription":"InternalServerError","Message":"Object reference not set to an instance of an object."}

https://uipath.int.xxxx.com/Default/DefaultTenant/identity_/Saml2
also returns {"StatusCode":500,"StatusDescription":"InternalServerError","Message":"Object reference not set to an instance of an object."}

So what is actual metadata url?

Are you trying to configure SAML at the host level or at the org level? For the host level, we do not expose a SAML metadata document. This is a bug in our documentation. I will work to address it right away. Sorry about that.

We do support SAML metadata at the org level. Automation Suite - Configuring the SAML Integration (uipath.com)

You can access it at https://uipath.int.xxxx.com/{OrgName/OrgId}/identity_/Saml2. You will also see the URL from the UX on the SAML configuration page.

Im using Automation Suite 2023.10.5 and I tried at every level and none of them work.

You can access it at https://uipath.int.xxxx.com/{OrgName/OrgId}/identity_/Saml2. You will also see the URL from the UX on the SAML configuration page.

https://uipath.int.xxxx.com/Default/DefaultTenant/identity_/Saml2 gives {"StatusCode":500,"StatusDescription":"InternalServerError","Message":"Object reference not set to an instance of an object."}

The UX on the SAML configuration page gives these URL, with an UUID in them (no mention of the OrgName=Default / OrgId) :

Metadata URL: https://uipath.int.xxxx.com/0560fb02-0500-4876-a29c-fce391c3c478/identity_/Saml2

Assertion Consumer Service URL: https://uipath.int.xxxxx.com/0560fb02-0500-4876-a29c-fce391c3c478/identity_/Saml2/Acs

Entity ID: https://uipath.int.xxxx.com/0560fb02-0500-4876-a29c-fce391c3c478/identity_

By the way, what do you mean by OrgId here? where do I find the OrgId?

The metadata URL will not work until you save. So you need to go thought all the steps at Automation Suite > Orchestrator > Admin > Security >SAML and then Test and Save and then the metadata URL will be active.

This was pretty confusing for me since I’m setting up with an On-Prem Active Directory and the people managing this wanted to have the UiPath Metadata URL first.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.