diff --git a/adapters/out-web/src/main/kotlin/com/pokit/auth/common/config/FirebaseConfig.kt b/adapters/out-web/src/main/kotlin/com/pokit/auth/common/config/FirebaseConfig.kt index 497e18f9..b9a1efd9 100644 --- a/adapters/out-web/src/main/kotlin/com/pokit/auth/common/config/FirebaseConfig.kt +++ b/adapters/out-web/src/main/kotlin/com/pokit/auth/common/config/FirebaseConfig.kt @@ -4,15 +4,19 @@ import com.google.auth.oauth2.GoogleCredentials import com.google.firebase.FirebaseApp import com.google.firebase.FirebaseOptions import com.google.firebase.auth.FirebaseAuth +import org.slf4j.LoggerFactory import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.core.io.ClassPathResource @Configuration class FirebaseConfig { + private val logger = LoggerFactory.getLogger(FirebaseConfig::class.java) + @Bean fun firebaseApp(): FirebaseApp { - val resource = ClassPathResource("/google-services.json") + val resource = ClassPathResource("google-services.json") + logger.info("============Loading google-services.json from ${resource.path}") val serviceAccount = resource.inputStream val options =