Browsing the keycloak docs we spotted this statement:
You must provide a session authentication strategy bean which should be of type
RegisterSessionAuthenticationStrategy
for public or confidential applications andNullAuthenticatedSessionStrategy
for bearer-only applications.
The last part (bearer only) makes sense to us, as the 'state' lives in the JWT token, however we do not understand why public/confidential clients require apps to manage state having in mind tokens are still provided by keycloak.
Could anybody help us understand why?