Skip to content

Commit

Permalink
DRAW-387-1 fix: Google Login Ios 지원
Browse files Browse the repository at this point in the history
  • Loading branch information
comforest committed Nov 11, 2024
1 parent 911a4d9 commit f3a38e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import org.springframework.boot.context.properties.ConfigurationProperties

@ConfigurationProperties("oauth.google")
data class GoogleApiProperties(
val clientId: String,
val clientId: List<String>,
)
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f3a38e4

Please sign in to comment.