samlify icon indicating copy to clipboard operation
samlify copied to clipboard

ERR_METADATA_CONFLICT_REQUEST_SIGNED_FLAG

Open OscarJVD opened this issue 4 years ago • 2 comments

^ Error: ERR_METADATA_CONFLICT_REQUEST_SIGNED_FLAG I've this error The error is from the SP or IDP? How I can solve this error? Already I tested multiples metadata but it doesn't work :(

OscarJVD avatar Sep 22 '21 17:09 OscarJVD

@OscarJVD It's because there is a conflict between IdP and SP configuration. Make sure isAuthnRequestSigned in SP metadata is same as isWantAuthnRequestsSigned in IdP metadata.

    if (this.entityMeta.isAuthnRequestSigned() !== idp.entityMeta.isWantAuthnRequestsSigned()) {
      throw new Error('ERR_METADATA_CONFLICT_REQUEST_SIGNED_FLAG');
    }

tngan avatar Sep 26 '21 03:09 tngan