OpenConext / OpenConext-engineblock

OpenConext SAML 2.0 IdP/SP Gateway
14 stars 22 forks source link

Check for needed parameters before constructing an auth failed response. #1289

Closed thijskh closed 6 months ago

thijskh commented 6 months ago

The function will return false if any of the needed info is not available, however EB would already fail with a type error inside the getSamlFailedResponse() method. By reordering these checks we prevent the type error for this case.

Closes: #1288