catalyst / moodle-auth_saml2

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

Improve test settings page instructions #749

Open keevan opened 1 year ago

keevan commented 1 year ago

https://github.com/catalyst/moodle-auth_saml2/blob/26b064c/classes/auth.php#L1166-L1178

Currently, if there are any conditions which prevent testing from happening, it returns a generic message as shown below.

In order to use this test, plugin needs to be configured, enabled and debugging mode should be enabled in plugin settings.

Instead, it would be much better for the user, if either: