Skip to content

SAML SP entityID Attribute

handnot2 edited this page Oct 2, 2017 · 1 revision

SAML SP entityID Attribute

esaml uses the metadata URI as the entityID OOTB. Some of the IdPs enable a urn style entityID instead of a URI. Introduce support for urn entityID.

Updated the esaml_sp record with entity_id field. Use :undefined as the default value for this field. Changed the following to check this newly introduced entity_id field and use the metadata URI if it is set as :undefined.

  • generate_authn_request
  • generate_logout_request
  • generate_logout_response
  • (call to) validate_assertion

This keeps it backward compatible with the existing behavior of using metadata URI when the entity_id record field is not explicity set.

Clone this wiki locally