This commit is contained in:
Eduard Tihomirov 2025-01-14 11:30:23 +03:00
parent 45f7e2db8b
commit 55f87746ad

View file

@ -478,7 +478,6 @@ public class EsiaAuthService {
JwtAuthentication authentication = new JwtAuthentication(usernamePasswordAuthenticationToken,
userId, token.getValue());
context.setAuthentication(authentication);
authenticationManager.authenticate(authentication);
SecurityContextHolder.setContext(context);
}