Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong configuration for discovery service: 'idp' must be 'idpentity' in config/authsources.php #767

Open
iv-enovation opened this issue Aug 22, 2023 · 0 comments

Comments

@iv-enovation
Copy link
Contributor

in config/authsources.php in line 65:
'idp' => empty($CFG->auth_saml2_disco_url) ? $idpentityid : null,

is wrong, it must be:
'idpentityid' => empty($CFG->auth_saml2_disco_url) ? $idpentityid : null,

as further in .extlib/simplesamlphp/modules/saml/www/sp/discoresp.php it checks for 'idpentity':
if (!array_key_exists('idpentityid', $_REQUEST)) {
throw new \SimpleSAML\Error\BadRequest('Missing idpentityid to discovery service response handler');
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant