pysaml2
pysaml2 copied to clipboard
`contact_person` documentation is incorrect.
The example shown is incorrect as it contains invalid configuration keys for every attribute other than company. The problem is that when using the example configuration, metadata won't be generated properly.
Here's an example of correct configuration:
'contact_person': [
{
'given_name': 'Fox',
'sur_name': 'Mulder',
'company': 'The X-Files',
'email_address': ['[email protected]'],
'telephone_number': ['+1 234 567 89'],
# accepted values: technical, support, administrative, billing and other
'contact_type': 'technical',
},
]
I'll send a PR with the corrected example withing a day or two, and I will expand upon the current description.
Ah, good catch!
In the example configs in SATOSA, the keys are spelled correctly: saml2_frontend.yaml.example, saml2_backend.yaml.example - but thanks for catching this in the documentation for pysaml2.
I submitted a PR just now! It's the #989.
Thank you!