You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`clientId`|You can get your clientId/projectId by registering your dapp on [developer dashboard](https://dashboard.web3auth.io)|
16
-
|`network`|network specifies the web3auth network to be used. |
17
-
|`buildEnv`| This parameter will be used to change the build environment of auth sdk. |
18
-
|`redirectUrl`|redirectUrl is the dapp's url where user will be redirected after login. Register this url at [developer dashboard](https://dashboard.web3auth.io) else initialization will give error.|
19
-
|`uxMode`|two uxModes are supported:- - `'POPUP'`: In this uxMode, a popup will be shown to user for login. -`'REDIRECT'`: In this uxMode, user will be redirected to a new window tab for login. Use of `'REDIRECT'` mode is recommended in browsers where popups might get blocked. |
15
+
|`clientId`|The unique identifier for your application. Obtain this by registering your dapp in the [Web3Auth Dashboard](https://dashboard.web3auth.io)|
16
+
|`network`|The Web3Auth network to be used.|
17
+
|`buildEnv`| This parameter will be used to change the build environment of auth sdk, mainly for testing purposes. default is `production`.|
18
+
|`redirectUrl`|The URL where users will be redirected after login. |
19
+
|`uxMode`|Two uxModes supported are:- `'popup'`: In this uxMode, a popup will be shown to user for login. Use`'redirect'`: In this uxMode, user will be redirected to a new window tab for login. Use of `'redirect'` mode is recommended in browsers where popups might get blocked. |
20
20
|`replaceUrlOnRedirect`| replaceUrlOnRedirect removes the params from the redirected url after login |
21
21
|`originData`| originData is used to verify the origin of dapp by iframe. You don't have to pass originData explicitly if you have registered your dapp at [developer dashboard](https://dashboard.web3auth.io). originData contains a signature of dapp's origin url which is generated using project's secret. |
22
22
|`loginConfig`| loginConfig enables you to pass your own login verifiers configuration for various loginProviders. loginConfig is key value map where each key should be a valid loginProvider and value should be custom configuration for that loginProvider. You can deploy your own verifiers from [developer dashboard](https://dashboard.web3auth.io) to use here. |
23
-
|`webauthnTransports`| webauthnTransport enables you to configure the transport type user can use for saving their share. This is only available for v1 users. |
24
-
|`sdkUrl`| sdkUrl is for internal development use only and is used to override the `network` parameter. |
25
-
|`dashboardUrl`| dashboardUrl is for internal development use only and is used to override the `buildEnv` parameter. |
26
-
|`whiteLabel`| options for whitelabling default auth modal. |
23
+
|`whiteLabel`| options for whitelabling default auth modal screens. |
27
24
|`storageServerUrl`| Specify a custom storage server url |
28
-
|`storageKey`| setting to "local" will persist social login session across browser tabs. How long should a login session last at a minimum in seconds |
29
-
|`sessionTime`| How long should a login session last at a minimum in seconds |
30
-
|`sessionNamespace`| This option is for internal use only in torus wallet and has no effect on user's login on other dapps. |
25
+
|`storageKey`| setting to "local" will persist social login session across browser tabs. |
26
+
|`sessionTime`| This is the sessionTime for the login session |
31
27
|`mfaSettings`| This parameter will be used to enable mfa factors and set priority on UI listing. List of factors available `deviceShareFactor`\|`backUpShareFactor`\|`socialBackupFactor`\|`passwordFactor`\|`passkeysFactor`\|`authenticatorFactor`|
32
-
|`useMpc`| This parameter will be used to use auth mpc |
33
-
|`useCoreKitKey`| This parameter will be used to select core kit key. |
28
+
|`useCoreKitKey`| Setting this boolean value to true will get you the core kit key. |
0 commit comments