SAML SSO is failed with error AADSTS50011

Maksim Pilipeiko 0 Reputation points
2024-07-19T08:52:12.79+00:00

I'm testing SAML SSO with Azure AD as the identity provider and Keycloak as the service provider managed by us.

The screen with the SAML configuration is below, showing that the domain is test345.colada.bizUser's image

When I try to sign in using an Azure account, I receive the following error:

AADSTS50011: The reply URL 'https://stage-v5.colada365.com/auth/realms/default/broker/saml/endpoint' specified in the request does not match the reply URLs configured for the application 'https://test345.colada.biz/auth/realms/default'.

It's unclear why the AssertionConsumerServiceURL is using stage-v5.colada365.com, while the reply URL in the SAML configuration is set to test345.colada.biz. I suspect this issue is related to using the third-party service https://saascustomdomains.com/ and the nature of the AssertionConsumerServiceURL. We use SaaS Custom Domains to support custom domains for our clients. However, it's not clear why stage-v5.colada365.com is being used instead of test345.colada.biz. How is the AssertionConsumerServiceURL constructed?

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,632 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.