-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Customizable Exception for Invalid Client Registration ID in OAuth2AuthorizationRequestRedirectFilter #13793
Comments
@leewin12 thanks for the report. I think the current intention of the framework is that such an invalid Having said that, there is room for improving error handling in this area and making it more flexible. I believe it would be fairly challenging though, so it could require some iterating to come up with a solution. Do you have any ideas for something we could introduce to make it more customizable? Would you be interested in opening a PR with such changes when we get to that point? I'm happy to help work with you on it. |
Greetings @sjohnr , Thank you for your insights on this issue. I'm indeed willing to open a PR; Please excuse that it might take several weeks due to my current schedule. My initial thought is to introduce an error handling interface along with a default implementation. If you have any other ideas, or if you believe my approach might not align with the framework's direction, please let me know. (I'd like to take this opportunity to express my gratitude to all the Spring Security framework contributors. Your efforts are deeply appreciated.) |
Thank you for the kind words! I'll pass on your appreciation to the team.
My only thought at this point would be to suggest trying to use an existing interface before creating a new one. When you get closer to that point we can discuss possible options. We probably want to aim for more general solutions than ones specific to a single type of error. |
Thank you for your continuous efforts in maintaining and improving spring security.
I would like to discuss a potential enhancement that could benefit many users.
Expected Behavior
Allow users to receive a more descriptive custom error message or be redirected to a specific error URL when an invalid client registration is provided during the OIDC process.
Current Behavior
Context
The text was updated successfully, but these errors were encountered: