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
|`typeOfLogin`| Type of login of this verifier, this value will affect the login flow that is adapted. Available options are `google`, `facebook`, `reddit`, `discord`, `twitch`, `apple`, `github`, `linkedin`, `twitter`, `weibo`, `line`, `email_password`, `passwordless`, `jwt`, `webauthn`. |
54
-
|`verifier`| Name/ Identifier of the verifier/ sub verifier in case of aggregate verifiers, you'd like your app to use for authentication. |
55
-
|`clientId`| Client Id given by the auth provider. Pass a random string in case you're connecting to a JWT based setup. |
56
-
|`jwtParams?`| Additional parameters for the Auth0 login provider. |
57
-
|`serverTimeOffset?`| The server time offset in seconds. Default value is 0. |
|`typeOfLogin`| Type of login of this verifier, this value will affect the login flow that is adapted. Available options are `LOGIN_TYPE.GOOGLE`, `LOGIN_TYPE.FACEBOOK`, `LOGIN_TYPE.REDDIT`, `LOGIN_TYPE.DISCORD`, `LOGIN_TYPE.TWITCH`, `LOGIN_TYPE.APPLE`, `LOGIN_TYPE.GITHUB`, `LOGIN_TYPE.LINKEDIN`, `LOGIN_TYPE.TWITTER`, `LOGIN_TYPE.WEIBO`, `LOGIN_TYPE.LINE`, and `LOGIN_TYPE.PASSWORDLESS`. |
54
+
|`verifier`| Name/ Identifier of the verifier/ sub verifier in case of aggregate verifiers, you'd like your app to use for authentication. |
55
+
|`clientId`| Client Id given by the auth provider. Pass a random string in case you're connecting to a JWT based setup. |
56
+
|`jwtParams?`| Additional parameters for the Auth0 login provider. |
57
+
|`serverTimeOffset?`| The server time offset in seconds. Default value is 0. |
58
58
59
59
</TabItem>
60
60
@@ -115,11 +115,11 @@ use this in case of an aggregate verifier.
|`aggregateVerifierIdentifier`| The name of your aggregate verifier. Get it from the [dashboard](https://dashboard.web3auth.io/). |
121
-
|`subVerifierDetailsArray`| An array containing the details of your sub verifiers. |
122
-
|`aggregateVerifierType?`| Defines the type of aggregation required for your aggregate verifier. Use `"single_id_verifier"` by default in most cases. |
|`aggregateVerifierIdentifier`| The name of your aggregate verifier. Get it from the [dashboard](https://dashboard.web3auth.io/). |
121
+
|`subVerifierDetailsArray`| An array containing the details of your sub verifiers. |
122
+
|`aggregateVerifierType?`| Defines the type of aggregation required for your aggregate verifier. You need to use `single_id_verifier` by default in most cases. This parameter allows you define the number of verifier ids to be used for aggregation. |
123
123
124
124
</TabItem>
125
125
@@ -143,6 +143,10 @@ export type AGGREGATE_VERIFIER_TYPE = (typeof AGGREGATE_VERIFIER)[keyof typeof A
143
143
144
144
### Single Verifier
145
145
146
+
To login with a single verifier, you will require to create a custom verifier in the Web3Auth
147
+
dashboard. If you haven't already created one,
148
+
[learn how to create a verifier](/docs/auth-provider-setup/verifiers).
|[loginWithJWT](#login-with-jwt)| Logs in the user with a JWT-based ID Token. We recommend using this method to authenticate users for better performance. |
24
24
|[loginWithOAuth](#login-with-oauth)| Logs in the user using OAuth Flow, this function underneaths uses the CustomAuth flow to authenticate the user. |
25
-
|[inputFactorKey](#input-factor-key)| This method can be used to input the factor key, for instance when threshold is not satisfied. |
26
-
|[logout](#logout)| This methods logs out the user and invalidates the session. |
27
25
|[handleRedirectResult](#handle-redirect-result)| Handles the redirect result from OAuth Flow. |
26
+
|[inputFactorKey](#login-with-existing-factor)| This method can be used to login with the exisitng factor key, for instance when threshold is not satisfied. |
27
+
|[logout](#logout)| This methods logs out the user and invalidates the session. |
28
28
29
29
:::info Get help with Authentication
30
30
@@ -79,25 +79,26 @@ SDK.
79
79
80
80
### Login with OAuth
81
81
82
-
This method helps to Log in the user using OAuth flow. Please refer to the
82
+
This method helps to Log in the user using OAuth flow. You can choose your preferred social auth
83
+
providers with 0Auth login flow. Please refer to the
83
84
[authentication section](/sdk/core-kit/mpc-core-kit/authentication/login-oauth) section for more
84
85
details.
85
86
86
-
### Login with JWT
87
-
88
-
Logs in the user with a JWT-based ID Token. We recommend using this method to authenticate users for
89
-
better performance. For this method, you'll have to manage the authentication yourself, and Web3Auth
90
-
will only verify the idToken passed. Please refer to the
91
-
[authentication section](/sdk/core-kit/mpc-core-kit/authentication/login-jwt) for more details.
92
-
93
87
### Handle Redirect Result
94
88
95
89
This method helps you hanlde the redirect result form the OAuth Flow when the ux mode is redirect.
96
90
By default, you won't require to use this method since we handle the redirect result internally. You
97
91
can set the `handleRedirectResult` to false during initialization, and use this method to handle the
98
92
redirect result.
99
93
100
-
### Input Factor Key
94
+
### Login With JWT
95
+
96
+
Logs in the user with a JWT-based ID Token. We recommend using this method to authenticate users for
97
+
better performance. For this method, you'll have to manage the authentication yourself, and Web3Auth
98
+
will only verify the idToken passed. Please refer to the
99
+
[authentication section](/sdk/core-kit/mpc-core-kit/authentication/login-jwt) for more details.
100
+
101
+
### Login With Existing Factor
101
102
102
103
This method can be used to input the factor key, for instance when threshold is not satisfied. For
103
104
example, if user's device factor is not present, this method can be used to input the back up factor
0 commit comments