Skip to content
Snippets Groups Projects
Commit 6bd5b4b6 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

If a list of endpoints is specified in config, take that at face value

Fixes #1496

(cherry picked from commit cd924bc3)
parent aaa8ed31
No related branches found
No related tags found
No related merge requests found
......@@ -349,6 +349,11 @@ class SP extends \SimpleSAML\Auth\Source
*/
private function getACSEndpoints(): array
{
// If a list of endpoints is specified in config, take that at face value
if ($this->metadata->hasValue('AssertionConsumerService')) {
return $this->metadata->getArray('AssertionConsumerService');
}
$endpoints = [];
$default = [
Constants::BINDING_HTTP_POST,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment