Skip to content

Commit

Permalink
Merge pull request #147 from Team-Motivoo/fix/#145-apple_login_bug_fix
Browse files Browse the repository at this point in the history
[FIX] Apple Login을 위한 FeignClient 빈 등록
  • Loading branch information
jun02160 authored Mar 23, 2024
2 parents 2d75eba + da4ccad commit 869523d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ subprojects {
implementation 'org.springframework.boot:spring-boot-starter-data-redis'

// Feign
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:3.1.7'
implementation "org.springframework.cloud:spring-cloud-starter-openfeign:4.0.3"

// Firebase
implementation "com.google.firebase:firebase-admin:9.1.1"
Expand All @@ -158,6 +158,12 @@ subprojects {

}

dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:2022.0.3"
}
}

test {
useJUnitPlatform()
}
Expand Down
8 changes: 7 additions & 1 deletion motivoo-external/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ dependencies {
implementation project(":motivoo-common")

// Social Login
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:3.1.7'
implementation "org.springframework.cloud:spring-cloud-starter-openfeign:4.0.3"

// for JsonIgnore
implementation group: "io.jsonwebtoken", name: "jjwt-jackson", version: "0.11.2"
}

dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:2022.0.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;

import sopt.org.motivoo.external.MotivooExternalRoot;

@Configuration
@EnableFeignClients(basePackageClasses = FeignClientConfig.class)
@EnableFeignClients(basePackageClasses = MotivooExternalRoot.class)
public class FeignClientConfig {

}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@Service
public class AppleLoginService {

private AppleClient appleClient;
private final AppleClient appleClient;
private final AppleJwtParser appleJwtParser;
private final PublicKeyGenerator publicKeyGenerator;
private final AppleClaimsValidator appleClaimsValidator;
Expand Down

0 comments on commit 869523d

Please sign in to comment.