Problems Importing SP Metadata in SSOCircle Spring SAML Security Enhancement

I am running the Spring Security SAML Extension sample program and I can generate the service provider's metadata. However, when I try to import the SP metadata into SSOCircle, I get the following error:

Import metadata

Your data cannot be imported Reason:

DefaultValidationEventHandler: [FATAL_ERROR]: Unexpected end of element {urn: oasis: names: tc: SAML: 2.0: metadata}: Extensions Location: line 4 Entity descriptor "localhost" in the "/" scope is invalid syntax.

I tried following the recommendations in post , but when I turn off detection, it no longer shows the page and SSOCircle is displayed and it says: An error has occurred Cause: SAML request is invalid.

Any ideas on what I'm doing wrong? BTW, I am using extension version 1.0.0.RELEASE of the SAML extension.

Thank!

+4
source share
1 answer

Make sure the property is includeDiscoveryExtensionset falseto MetadataGeneratorbean. When this option is enabled, this option generates an item Extensionsthat is problematic for SSOCircle. Then, make sure that the generated metadata does not actually contain any element Extensions.

, SP , SSOCircle. entityId SP, entityId MetadataGenerator bean, . urn:nualphaman:test.

+5

All Articles