]> BookStack Code Mirror - bookstack/commit
Updated OIDC error handling for better error reporting
authorDan Brown <redacted>
Thu, 24 Feb 2022 14:16:09 +0000 (14:16 +0000)
committerDan Brown <redacted>
Thu, 24 Feb 2022 14:16:09 +0000 (14:16 +0000)
commitce566bea2a2f5e120cc09808f9d3a4aee79589c2
treeb0b99c12ce59a86062c68aa8131551d944d3a301
parent63ce3c9addb90b41c44be761f51b54e3d7c9060c
Updated OIDC error handling for better error reporting

Fixes issue where certain errors would not show to the user
due to extra navigation jumps which lost the error message
in the process.
This simplifies and aligns exceptions with more directly
handled exception usage at the controller level.

Fixes #3264
app/Auth/Access/Oidc/OidcException.php [new file with mode: 0644]
app/Auth/Access/Oidc/OidcIssuerDiscoveryException.php
app/Auth/Access/Oidc/OidcService.php
app/Exceptions/JsonDebugException.php
app/Exceptions/NotifyException.php
app/Exceptions/OpenIdConnectException.php [deleted file]
app/Http/Controllers/Auth/OidcController.php
tests/Auth/OidcTest.php