]> BookStack Code Mirror - bookstack/commit
OIDC RP Logout: Fixed issues during testing
authorDan Brown <redacted>
Thu, 7 Dec 2023 17:45:17 +0000 (17:45 +0000)
committerDan Brown <redacted>
Thu, 7 Dec 2023 17:45:17 +0000 (17:45 +0000)
commit81d256aebd6e7bca7b86369abd5e79b3a6679f33
tree5aebeea5ef0203a8e048765b94be20bd3f9ba10c
parenta72e0fee707ff0c8d226fef263eba41a49689833
OIDC RP Logout: Fixed issues during testing

- Disabled by default due to strict rejection by auth systems.
- Fixed issue when autoloading logout URL, but not provided in
  autodiscovery response.
- Added proper handling for if the logout URL contains a query string
  already.
- Added extra tests to cover.
- Forced config endpoint to be used, if set as a string, instead of
  autodiscovery endpoint.
app/Access/Oidc/OidcService.php
app/Config/oidc.php
tests/Auth/OidcTest.php