[keycloak-user] Springboot adapter/Undertow/Tomcat + Authz with request.body claim
Pedro Igor Silva
psilva at redhat.com
Tue Oct 15 17:35:34 EDT 2019
Hi,
I think this is specific to Spring Boot. We do have some logic to buffer
the inputstream for subsequent reads. I need to check why it does not work
with Spring.
I will reply to the JIRA.
Regards.
Pedro Igor
On Tue, Oct 15, 2019 at 5:37 PM Błażej Adamczyk <blazej.adamczyk at gmail.com>
wrote:
> Hello everyone,
>
> Has anyone tried to read and push {request.body} as a claim in one of
> the following adapters: Springboot/Undertow/Tomcat?
>
> Trying Springboot with different containers I get the same result: the
> inputstream/channel is being read at an early stage in the flow and is
> not wrapped (buffered) what makes the body inaccessible for further
> application logic (parsers etc.).
>
> I've created an issue here:
> https://issues.jboss.org/browse/KEYCLOAK-11712
>
> Maybe I'm doing something wrong? Maybe there is some easy way to make
> the inputstream buffered in undertow or tomcat??
>
> --
> Kind regards,
> Blazej_______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
More information about the keycloak-user
mailing list