catalyst / moodle-auth_saml2

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

Option to customize entityId of service provider #674

Closed sr258 closed 2 years ago

sr258 commented 2 years ago

We need to customize the entity id that is used by the plugin (for itself, so the service provider). The plugin generates the entity ID using the hostname of the Moodle instance, but we need to override it. We haven't found any way of doing this. Is this possible through an undocumented setting?

brendanheywood commented 2 years ago

You should be able to do that with the spentityid settings:

https://github.com/catalyst/moodle-auth_saml2/blob/MOODLE_39_STABLE/settings.php#L169-L174