diff --git a/Infrastructure-Module/Client/src/main/kotlin/com/asap/client/oauth/OAuthConfig.kt b/Infrastructure-Module/Client/src/main/kotlin/com/asap/client/oauth/OAuthConfig.kt index fa0338e..3db56c2 100644 --- a/Infrastructure-Module/Client/src/main/kotlin/com/asap/client/oauth/OAuthConfig.kt +++ b/Infrastructure-Module/Client/src/main/kotlin/com/asap/client/oauth/OAuthConfig.kt @@ -1,6 +1,8 @@ package com.asap.client.oauth +import com.asap.client.oauth.platform.GoogleOAuthRetrieveHandler import com.asap.client.oauth.platform.KakaoOAuthRetrieveHandler +import com.asap.client.oauth.platform.NaverOAuthRetrieveHandler import com.asap.domain.user.enums.SocialLoginProvider import org.springframework.beans.factory.annotation.Qualifier import org.springframework.context.annotation.Bean @@ -9,11 +11,15 @@ import org.springframework.context.annotation.Configuration @Configuration class OAuthConfig( private val kakaoOAuthRetrieveHandler: KakaoOAuthRetrieveHandler, + private val googleOAuthRetrieveHandler: GoogleOAuthRetrieveHandler, + private val naverOAuthRetrieveHandler: NaverOAuthRetrieveHandler, ) { @Bean @Qualifier("oAuthRetrieveHandlers") fun oAuthRetrieveHandlers(): Map = mapOf( SocialLoginProvider.KAKAO to kakaoOAuthRetrieveHandler as OAuthRetrieveHandler, + SocialLoginProvider.GOOGLE to googleOAuthRetrieveHandler as OAuthRetrieveHandler, + SocialLoginProvider.NAVER to naverOAuthRetrieveHandler as OAuthRetrieveHandler, ) }