This repository was archived by the owner on May 31, 2022. It is now read-only.
This repository was archived by the owner on May 31, 2022. It is now read-only.
Successful/unsucessful authentication handlers in OAuth2AuthenticationProcessingFIlter #1450
Open
Description
In OAuth2AuthenticationProcessingFIlter
it would be nice have a way to change (or even create completely different) authentication token after successful authentication. Then maybe it is worth to add onSuccessfulAuthentication
/onUnsuccessfulAuthentication
handler methods as it is done in org.springframework.security.web.authentication.www.BasicAuthenticationFilter
from spring-security-web module.
Pull request: #1449