jacekkow/keycloak-protocol-cas

Page Not Found Error With CAS Endpoint

matthew-williamson-sd opened this issue · 3 comments

Hi,

I'm having some issues running keycloak-protocol-cas with keycloak 12.0.4. I add the jar to the deployments directory. I can see CAS as an option in the frontend and tomcat says it's been laoded so seems to be working. My application seems to redirect to the correct url (i.e. http://localhost:8180/auth/realms/master/protocol/cas) but gets a 'Page Not Found'

I've tested the app against Apereo's test server and it appears to work, so unsure what the issue could be.

Any help you can give would be appreciated, and I apologise if I'm missing something blindingly obvious!

Screenshot 2021-05-10 at 17 46 44

Screenshot 2021-05-10 at 17 48 59

http://localhost:8180/auth/realms/master/protocol/cas is not a correct URL! Per CAS protocol specification you must append /login to the URL to get the authentication endpoint.

Hence the correct URL would be http://localhost:8180/auth/realms/master/protocol/cas/login (plus necessary parameters like service)

I'm closing this issue. Feel free to reopen or comment if you need more help.

This did indeed solve it for me; thanks very much!