Improve DefaultReactiveOAuth2UserService handling IOException #7370
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
Milestone
Summary
There are many reasons that a
DefaultReactiveOAuth2UserService
might fail due to anIOException
(i.e.SSLHandshakeException
). In those cases we should use aAuthenticationServiceException
so that users are aware there is likely some misconfiguration.The text was updated successfully, but these errors were encountered: