I'm trying to debug if there is an easy solution to trigger surrogate authentication in rest and understand why SurrogateInitialAuthenticationAction.java is not invoked when calling a rest endpoint.
Did anyone manage to achieve surrogate authentication through REST endpoint ?