AuthorizationRequestRedirectFilter needs a way to customize errors #4641
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
status: invalid
An issue that we don't feel is valid
Summary
Currently
sendRedirectForAuthorization
can throw anIllegalArgumentException
if the client registration is not found. This means there is a big stacktrace provided on the screen by default. We should allow some strategy to be used for handling the error (i.e. rendering an error page, forwarding to the error page, etc).The text was updated successfully, but these errors were encountered: