-
Notifications
You must be signed in to change notification settings - Fork 6k
OidcBackChannelLogoutWebFilter error response is not a correct JSON #16072
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
Comments
Should the description field in the error response escape quotes for safe use in HTML (e.g., converting |
Request for Clarification:
|
@harpreets789 as this is a back-channel call from the OP and https://openid.net/specs/openid-connect-backchannel-1_0.html#BCResponse specifies that an |
@katya-tis, thanks for the report. We'll target the next maintenance release for a fix. I'd like to know something else in addition to improving the serialization behavior; the error message in your payload appears to be a null pointer exception. Can you share a stack trace or give me more information regarding where the null pointer exception is from so we can make that error message more informative? |
Closed in 3d1e4b5 |
@jzheaux The null pointer exception comes from |
Describe the bug
When OidcBackChannelLogoutWebFilter returns an error from handleAuthenticationFailure(...) method:
To Reproduce
Call the oidc back channel logout endpoint without a logout token for example. The response is:
Expected behavior
The expected response should look like this:
The text was updated successfully, but these errors were encountered: