Spring Webflux pac4j : Error decoding SAML message

83 views
Skip to first unread message

John Doe

unread,
Jan 17, 2023, 5:47:40 AM1/17/23
to Pac4j users mailing list
Got the following exception while to implement SAML auth with spring-webflux-pac4j :

...
org.pac4j.core.exception.TechnicalException: Operation not supported
at org.pac4j.core.context.WebContext.getRequestContent(WebContext.java:174) ~[pac4j-core-5.6.0.jar:na]
...

The org.pac4j.core.context.WebContext interface has a getRequestContent method. Seems that this is not implemented by SpringWebfluxWebContext. This is present in JEEContext. The Pac4jHTTPPostDecoder (via AbstractPac4jDecoder) is trying decode and failing.

Environment:
Java Version: 11
spring-webflux-pac4j: 1.2.0
pac4j-core: 5.6.0
pac4j-saml: 5.6.0

Exception.txt
Reply all
Reply to author
Forward
0 new messages