samlify icon indicating copy to clipboard operation
samlify copied to clipboard

How do I validate the metadata?

Open FreifeldRoyi opened this issue 5 years ago • 2 comments

When trying to init IDP with a random string ('asdasd' to be exact) as metadata, the IDP construction succeeded. I would prefer to pre-validate the metadata or catch an exception in case that the format is invalid. I saw that there are some validators mentioned in the README but it did not do anything

Am I missing somthing?

FreifeldRoyi avatar May 11 '20 20:05 FreifeldRoyi

I used @authenio/samlify-xsd-schema-validator manually and got errors for both "bad" string and "good" XML strings.

FreifeldRoyi avatar May 11 '20 20:05 FreifeldRoyi

@FreifeldRoyi We haven't included the metadata validation yet, and of course PR is welcome. :)

tngan avatar May 13 '20 19:05 tngan