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
We start by intialising the MFA recipe on the backend and specifying the list of first factors using their [factor IDs](./important-concepts#auth-factor-ids). You still have to initialise all the auth recipes in the `recipeList`, and configure them based on your needs.
15
+
16
+
For example, the code below inits `thirdpartyemailpassword` and `passwordless` recipes and sets the `firstFactor` array to be `["emailpassword", "thirdparty"]`. This means that we will show email password and social login to the user as the first factor (using the `thirdpartyemailpassword` recipe), and use `passwordless` for the second factor.
17
+
18
+
<BackendSDKTabs>
19
+
<TabItemvalue="nodejs">
20
+
21
+
```ts
22
+
TODO
23
+
```
24
+
25
+
</TabItem>
26
+
<TabItemvalue="go">
27
+
28
+
:::note
29
+
Coming soon. In the meantime, checkout the [legacy method](./legacy-method/how-it-works) for adding MFA to your app.
30
+
:::
31
+
32
+
</TabItem>
33
+
<TabItemvalue="python">
34
+
35
+
:::note
36
+
Coming soon. In the meantime, checkout the [legacy method](./legacy-method/how-it-works) for adding MFA to your app.
0 commit comments