File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed 
Location-based-target-authentication 
social_login/service/auth Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,21 @@ repositories {
2323	mavenCentral()
2424}
2525
26+ ext  {
27+ 	set(' springSecurityVersion'  , ' 6.2.1'  )
28+ }
29+ 
2630dependencies  {
2731	//  Spring Boot Starters
2832	implementation ' org.springframework.boot:spring-boot-starter-data-jpa' 
2933	implementation ' org.springframework.boot:spring-boot-starter-jdbc' 
3034	implementation ' org.springframework.boot:spring-boot-starter-oauth2-client' 
3135	implementation ' org.springframework.boot:spring-boot-starter-security' 
32- 	implementation ' org.springframework.security:spring-security-oauth2-client' 
33- 	implementation ' org.springframework.security:spring-security-oauth2-jose' 
36+ 	implementation " org.springframework.security:spring-security-core:${ springSecurityVersion} " 
37+ 	implementation " org.springframework.security:spring-security-web:${ springSecurityVersion} " 
38+ 	implementation " org.springframework.security:spring-security-config:${ springSecurityVersion} " 
39+ 	implementation " org.springframework.security:spring-security-oauth2-client:${ springSecurityVersion} " 
40+ 	implementation " org.springframework.security:spring-security-oauth2-jose:${ springSecurityVersion} " 
3441	implementation ' org.springframework.boot:spring-boot-starter-validation' 
3542	implementation ' org.springframework.boot:spring-boot-starter-web' 
3643	implementation ' org.springframework.boot:spring-boot-starter-webflux' 
Original file line number Diff line number Diff line change 33import  org .springframework .beans .factory .annotation .Value ;
44import  org .springframework .context .annotation .Bean ;
55import  org .springframework .context .annotation .Configuration ;
6+ import  org .springframework .security .config .annotation .web .configuration .EnableWebSecurity ;
67import  org .springframework .security .oauth2 .client .registration .ClientRegistration ;
78import  org .springframework .security .oauth2 .client .registration .ClientRegistrationRepository ;
89import  org .springframework .security .oauth2 .client .registration .InMemoryClientRegistrationRepository ;
910import  org .springframework .security .oauth2 .core .AuthorizationGrantType ;
1011import  org .springframework .security .oauth2 .core .ClientAuthenticationMethod ;
11- import  org .springframework .security .config .annotation .web .configuration .EnableWebSecurity ;
12+ import  org .springframework .security .config .annotation .web .builders .HttpSecurity ;
13+ import  org .springframework .security .web .SecurityFilterChain ;
1214
1315@ Configuration 
1416@ EnableWebSecurity 
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public class GoogleAuthImpl implements GoogleAuthService {
2525    private  String  clientSecret ;
2626    @ Value ("${spring.security.oauth2.client.registration.google.redirect-uri}" )
2727    private  String  redirectUrl ;
28-     @ Value ("${google.redirect.url. local}" )
28+     @ Value ("${spring.security.oauth2.client.registration.google.redirect-uri- local}" )
2929    private  String  redirectUrlLocal ;
3030
3131    private  final  HttpServletRequest  request ;
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments