diff --git a/adapter/oauth/src/main/kotlin/com/xorker/draw/oauth/google/GoogleApiProperties.kt b/adapter/oauth/src/main/kotlin/com/xorker/draw/oauth/google/GoogleApiProperties.kt index eb7a229d..21eb376c 100644 --- a/adapter/oauth/src/main/kotlin/com/xorker/draw/oauth/google/GoogleApiProperties.kt +++ b/adapter/oauth/src/main/kotlin/com/xorker/draw/oauth/google/GoogleApiProperties.kt @@ -4,5 +4,5 @@ import org.springframework.boot.context.properties.ConfigurationProperties @ConfigurationProperties("oauth.google") data class GoogleApiProperties( - val clientId: String, + val clientId: List, ) diff --git a/adapter/oauth/src/main/kotlin/com/xorker/draw/oauth/google/GoogleAuthService.kt b/adapter/oauth/src/main/kotlin/com/xorker/draw/oauth/google/GoogleAuthService.kt index 083254f9..f947d4d4 100644 --- a/adapter/oauth/src/main/kotlin/com/xorker/draw/oauth/google/GoogleAuthService.kt +++ b/adapter/oauth/src/main/kotlin/com/xorker/draw/oauth/google/GoogleAuthService.kt @@ -13,7 +13,7 @@ internal class GoogleAuthService( ) { private val idTokenVerifier = GoogleIdTokenVerifier.Builder(NetHttpTransport(), GsonFactory.getDefaultInstance()) - .setAudience(listOf(googleApiProperties.clientId)) + .setAudience(googleApiProperties.clientId) .build() fun getPlatformUserId(token: String): String {