catalyst / moodle-auth_saml2

SAML done 100% in Moodle, fast, simple, secure
https://moodle.org/plugins/auth_saml2
70 stars 132 forks source link

Add contact type other #764

Open cesarli-wehi opened 1 year ago

cesarli-wehi commented 1 year ago

Hello,

I am trying to pass this validator using your plugin https://demo.spid.gov.it/validator#/metadata-sp-download

I get the following errors:

49 | Only one default AssertionConsumerService MUST be present | failure 50 | Must be present the default AssertionConsumerService with index = 0 59 | The //ContactPerson[@contactType='other']/EmailAddress element MUST be present | failure - value: [] 60 | ContactPerson MUST be present | failure 61 | Only one ContactPerson element of contactType "other" MUST be present 69 | The //ContactPerson[@contactType='other']/Extensions/Public element MUST be present

the first two seem to be related to the assertionConsumerService I selected and that the default is none. the others all seem to have to do with the fact that the contactType is set to technical automaticaly.

Is there a way to change the configuration to pass these points?

Thank you