I am trying to set up SSO. After authentication I...
# ask-a-descoper
b
I am trying to set up SSO. After authentication I am getting the error below. I added a CNAME record to the custom domain in DNS to point to "cname.descope.com", getting the same error. SubjectLocality must have Address or DNSName. opensaml::FatalProfileException at (https://sam.edu/Shibboleth.sso/SAML2/POST)
n
Hey Ben, Looks like the error is coming from the Shibboleth side, not the Descope config. The SAML assertion includes a <SubjectLocality> element, but it’s empty. Shibboleth expects it to contain either an IP address or a DNS name. Since neither is present, it throws the SubjectLocality must have Address or DNSName error. There are a couple different things you could try here: • Don’t include <SubjectLocality> in the AuthnStatement • Populate it with an Address (e.g. the client IP) or DNSName value. Additionally, you would want the CNAME to point to your application. Instead of “cname.descope.com” it should be something like https://sam.edu or https://app.sam.edu. Essentially, the url of your website/application.