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

Keycloak V25 breaks CAS client-scope creation #119

Open
ValentinLorand opened this issue Aug 20, 2024 · 3 comments
Open

Keycloak V25 breaks CAS client-scope creation #119

ValentinLorand opened this issue Aug 20, 2024 · 3 comments
Labels
resolution: upstream It is an upstream issue type: bug Something isn't working

Comments

@ValentinLorand
Copy link
Contributor

ValentinLorand commented Aug 20, 2024

Helloo,

I was very happy to be able to create CAS client scope in keycloak 24.0.4 without any problem but since I upgraded Keycloak to version 25.0.4, I can't create client-scope for protocol CAS.

The CAS choice is present in the creation form but when I submit the form I get a 400 Bad Request response because of the bad protocol value (see the screenshot below) :

image

The problem occurs both from the API and the admin console interface.

Do you have any idea of the origin of this problem and a potential fix in mind ? :)

Best regards,
Valentin Lorand

@ValentinLorand
Copy link
Contributor Author

After some digging, I found the origin of the problem :

image

A fragment of code has been implemented in the version 25 of Keycloak where an hardcoded comparison is performed to validated the protocol (SAML or OIDC). This implementation BREAKS the extensibility of Keycloak regarding the protocols.

cf : keycloak/keycloak#29544

@jacekkow
Copy link
Owner

@ValentinLorand - would you report it upstream?

@ValentinLorand
Copy link
Contributor Author

Yes, the issue is created here : keycloak/keycloak#32281

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: upstream It is an upstream issue type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants