-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
The saml_config.php file used to hold 3 properties: samllib, sp_source and dosinglelogout
Line 1 in 581955d
| {"samllib":"\/var\/www\/simplesamlphp\/lib","sp_source":"default-sp","dosinglelogout":"on"} |
But in settings.php only samllib is saved into the new file in the Moodle data dir.
Lines 43 to 48 in 581955d
| $pluginconfig = get_config('auth_saml'); | |
| $param['samllib'] = $pluginconfig->samllib; | |
| // Save saml settings in a file. | |
| $encodedparam = json_encode($param); | |
| file_put_contents($samlconfigfile, $encodedparam); |
This leads to $samlparam->sp_source not being defined in index.php and that causes the error in the subject.
Line 61 in 581955d
| $as = new SimpleSAML_Auth_Simple($samlparam->sp_source); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels