We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56af7a9 + ce737a9 commit 8f0cff2Copy full SHA for 8f0cff2
core/src/main/java/com/web3auth/core/Web3Auth.kt
@@ -48,7 +48,7 @@ class Web3Auth(web3AuthOptions: Web3AuthOptions) {
48
val initParams = mutableMapOf(
49
"loginProvider" to params?.loginProvider,
50
"extraLoginOptions" to params?.extraLoginOptions,
51
- "redirectUrl" to web3AuthOption.redirectUrl.toString()
+ "redirectUrl" to if (params?.redirectUrl != null) params.redirectUrl.toString() else initOptions["redirectUrl"].toString()
52
)
53
54
val paramMap = mapOf(
0 commit comments