Skip to content

6.4 -> 6.5 cannot be cast to class #17175

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

Closed
fkowal opened this issue May 27, 2025 · 2 comments
Closed

6.4 -> 6.5 cannot be cast to class #17175

fkowal opened this issue May 27, 2025 · 2 comments
Assignees
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: duplicate A duplicate of another issue type: bug A general bug

Comments

@fkowal
Copy link

fkowal commented May 27, 2025

Describe the bug
After upgrade from 6.4 -> 6.5
New implementation became unnecessarily type specific,
Making configuration in the users application uncenessarily incompatible during upgrade.

postProcess (AuthenticationProvider) became
post(OidcAuthorizationCodeAuthenticationProvider) causing a class cast exception

@fkowal fkowal added status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels May 27, 2025
fkowal added a commit to fkowal/spring-security that referenced this issue May 27, 2025
fkowal added a commit to fkowal/spring-security that referenced this issue May 27, 2025
@fkowal
Copy link
Author

fkowal commented May 27, 2025

MR: #17176

@jzheaux jzheaux added status: duplicate A duplicate of another issue in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 10, 2025
@jzheaux jzheaux self-assigned this Jun 10, 2025
@jzheaux
Copy link
Contributor

jzheaux commented Jun 10, 2025

Thanks for the report, @fkowal, I'll close this in favor of #17176 and we can continue coordinating over there.

@jzheaux jzheaux closed this as completed Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) status: duplicate A duplicate of another issue type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants