Closed
Description
When WebFlux oauth2Login
is configured with 1 ClientRegistration
that has bad client credentials, a 500 response will occur during the processing of the Authorization Response when attempting to exchange the code
for the access_token
. The parameters from the authorization response are also viewable in the browser location bar.
We should ensure a redirect to the default login page to display the error message, for example, [invalid_client] Unauthorized
.