SUPPORT-8427: Fix

This commit is contained in:
Eduard Tihomirov 2024-09-05 14:20:46 +03:00
parent c5d1036769
commit 27c316a519

View file

@ -25,7 +25,6 @@ import esia.model.EsiaAccessToken;
import esia.model.EsiaTokenResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Service;
@ -52,9 +51,6 @@ public class EsiaAuthService {
@Autowired
private JwtTokenService jwtTokenService;
@Autowired
private AuthenticationManager authenticationManager;
public String generateAuthCodeUrl() {
try {
String clientId = esiaConfig.getClientId();