Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page Not Found Error With CAS Endpoint #27

Closed
matthew-williamson-sd opened this issue May 10, 2021 · 3 comments
Closed

Page Not Found Error With CAS Endpoint #27

matthew-williamson-sd opened this issue May 10, 2021 · 3 comments
Labels
resolution: invalid This doesn't seem right type: question Further information is requested

Comments

@matthew-williamson-sd
Copy link

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

@jacekkow
Copy link
Owner

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)

@jacekkow jacekkow added the type: question Further information is requested label May 10, 2021
@jacekkow
Copy link
Owner

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

@jacekkow jacekkow added the resolution: invalid This doesn't seem right label May 10, 2021
@matthew-williamson-sd
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: invalid This doesn't seem right type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants