back channel logout request content type

Issue #298 resolved
Former user created an issue

https://openid.net/specs/openid-connect-backchannel-1_0.html#BCRequest specifies the content type as "application/x-www-form-urlencoded"

the back channel logout request sets "application/x-www-form-urlencoded; charset=UTF-8"

I would not see this as a problem, but another project im integrating with does:

https://github.com/zmartzone/mod_auth_openidc/blob/3d2d69757af1da59f39c3e15821ebfb6a08def11/src/mod_auth_openidc.h#L568

Thank you for the great library.

Comments (1)

  1. Yavor Vasilev

    Hi, You can override it with:

    HTTPRequest httpRequest = request.toHTTPRequest();
    httpRequest.setEntityContentType(new ContentType("application", "x-www-form-urlencoded");
    

    And then continue as normal.

  2. Log in to comment