Skip to content

Commit d997507

Browse files
committed
feat: code cleanup
Signed-off-by: Gaurav Goel <[email protected]>
1 parent ed1f803 commit d997507

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/src/main/java/com/web3auth/core/Web3Auth.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions, context: Context) : WebViewResu
380380
connect(loginParams, baseContext)
381381
} else {
382382
val _loginParams = LoginParams(
383-
AuthConnection.GOOGLE,
383+
AuthConnection.CUSTOM,
384384
authConnectionId = loginParams.groupedAuthConnectionId,
385385
idToken = loginParams.idToken
386386
)
@@ -434,6 +434,7 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions, context: Context) : WebViewResu
434434
profileImage = it?.getClaim("picture")?.asString() ?: "",
435435
authConnectionId = loginParams.authConnectionId.toString(),
436436
authConnection = AuthConnection.CUSTOM.name.lowercase(Locale.ROOT),
437+
groupedAuthConnectionId = loginParams.groupedAuthConnectionId ?: "",
437438
userId = it?.getClaim("user_id")?.asString() ?: "",
438439
)
439440
}

core/src/main/java/com/web3auth/core/types/Web3AuthOptions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ fun getDashboardUrl(buildEnv: BuildEnv?): String {
9090

9191
const val authServiceVersion = "v10"
9292
const val walletServicesVersion = "v5"
93-
const val authDashboardVersion = "v9"
93+
const val authDashboardVersion = "v10"
9494
const val walletAccountConstant = "wallet/account"
9595
const val WEBVIEW_URL = "walletUrl"
9696
const val REDIRECT_URL = "redirectUrl"

0 commit comments

Comments
 (0)