It is CAS 5.0. And I'm having trouble with the same issue. I enabled basic authentication by adding below lines to pom.xml (
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-basic</artifactId>
<version>${cas.version}</version>
</dependency>
Then I tested the requests in postman. GET worked well but POST failed. Because cas changed the request to GET.
It would be worse when using HttpClient in java because users who use our REST API will get 302 code.
Is it fixed in 5.1.0 or 5.2.0? Or is there any workaround in the Java client code?
Thanks a lot!