Hi,
I am using pac4j oidc along with spring-security-pac4j.
I am looking to capture the Authentication Exception and return a nice formatted response.
Spring Security provides AuthenticationEntryPoint and AccessDeniedHandler.
But they are not getting called in my case.
If i provide bad token I see the error in log
UserInfoOidcAuthenticator : Bad User Info response, error={error_description=The access token is invalid., error=invalid_token}
But the control is not passed to the accessDenied Handler.
Any Help ?