Skip to content

Commit

Permalink
feat: update pwless to support otp based mfa
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Oct 19, 2023
1 parent ad99b5f commit 083e908
Show file tree
Hide file tree
Showing 50 changed files with 2,863 additions and 946 deletions.
6 changes: 5 additions & 1 deletion examples/for-tests/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const testContext = getTestContext();

let recipeList = [
MultiFactorAuth.init({
firstFactors: ["emailpassword", "thirdparty"],
firstFactors: ["otp-phone", "otp-email", "thirdparty"],
}),
Multitenancy.init({
override: {
Expand Down Expand Up @@ -871,6 +871,10 @@ function getPasswordlessConfigs({ disableDefaultUI }) {
disableDefaultUI,
style: theme,
},
mfa: {
disableDefaultUI,
style: theme,
},
});
}

Expand Down
2 changes: 0 additions & 2 deletions lib/build/components/assets/linkIcon.d.ts

This file was deleted.

63 changes: 4 additions & 59 deletions lib/build/emailpassword-shared6.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions lib/build/emailpassword-shared7.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/build/emailpasswordprebuiltui.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 083e908

Please sign in to comment.