You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OAuth2LoginAuthenticationFilter should set AuthenticationDetails #6866
OAuth2LoginAuthenticationFilter is not setting a WebAuthenticationDetails on the OAuth2AuthenticationToken object that is returned. It does set a WebAuthenticationDetails on the authenticationRequest but this instance is lost later on.
I'm doing some post-processing in a AuthenticationSuccessHandler using a custom WebAuthenticationDetails which is currently only working for form login, not for OAuth2 login.
Actual Behavior
AuthenticationDetails is always null when using OAuth2 login
changed the title [-]OAuth2LoginAuthenticationFilter not setting WebAuthenticationDetails[/-][+]OAuth2LoginAuthenticationFilter sets AuthenticationDetails[/+]on May 17, 2019
changed the title [-]OAuth2LoginAuthenticationFilter sets AuthenticationDetails[/-][+]OAuth2LoginAuthenticationFilter should set AuthenticationDetails[/+]on May 17, 2019
Activity
rwinch commentedon May 15, 2019
Thanks for reaching out @ddevrien! Would you be interested in submitting a Pull Request for this?
ddevrien commentedon May 15, 2019
PR made: #6884
I'm not really familiar with Github and I wasn't sure how to reference a PR to this issue 😃
[-]OAuth2LoginAuthenticationFilter not setting WebAuthenticationDetails[/-][+]OAuth2LoginAuthenticationFilter sets AuthenticationDetails[/+][-]OAuth2LoginAuthenticationFilter sets AuthenticationDetails[/-][+]OAuth2LoginAuthenticationFilter should set AuthenticationDetails[/+]OAuth2LoginAuthenticationFilter sets AuthenticationDetails