LogoutResponse from Shib 5.1.0 causes 500 in Keycloak

Tomas Stenlund tomas.stenlund at telia.com
Sun Mar 17 13:57:45 UTC 2024


Hi again,

forgot to include what keycloak is saying if it gives any hints:

024-03-17 13:13:50,815 ERROR 
[org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-10) 
Uncaught server error: java.lang.ClassCastException: class 
org.keycloak.dom.saml.v2.protocol.StatusResponseType cannot be cast to 
class org.keycloak.dom.saml.v2.protocol.RequestAbstractType 
(org.keycloak.dom.saml.v2.protocol.StatusResponseType and 
org.keycloak.dom.saml.v2.protocol.RequestAbstractType are in unnamed 
module of loader io.quarkus.bootstrap.runner.RunnerClassLoader @3c679bde)

Cheers,

Tomas

On 2024-03-17 14:43, Tomas Stenlund via users wrote:
> Hi,
>
> I have been using Keycloak 23.0.7 with Shibboleth IdP 5.0.0 as an IdP 
> broker and it works perfectly fine both login and logout flows.
>
> But when I upgraded to the latest Shibboleth 5.1.0 the logout flow 
> broke with keycloak returning a 500 when it got the LogoutResponse 
> with the statuscode urn:oasis:names:tc:SAML:2.0:status:Success. There 
> is no visible difference between the 5.0.0 and 5.1.0 Shib messages 
> from what I can see but obviously there is something that differ.
>
> I just wanted to know if there has been any changes from 5.0.0 to 
> 5.1.0 that would affect the logout flow on the Shib-side? I am 
> currently increasing logs in keycloak now to see if I can spot 
> anything that points me in the right direction.
>
> Thanks a lot,
>
> Tomas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20240317/6154943c/attachment.htm>


More information about the users mailing list