Skip to content

Commit

Permalink
Merge branch 'feat/mfa/otp' into feat/mfa/totp
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Nov 16, 2023
2 parents be04faa + 69a2110 commit 4ecfc27
Show file tree
Hide file tree
Showing 14 changed files with 92 additions and 104 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,25 @@ To use this you'll need compatible versions:
- Refactored/renamed some styling options (`resetPasswordHeaderTitle` -> `headerTitle withBackButton`)
- Added a `useShadowDom` prop to the `AccessDeniedScreen`
- Added an `error` prop to the `AccessDeniedScreen` that can be used to describe the reason access is denied.
- Added new MFA related components to Passwordless
- Added new prop `mfaFeature` to recipe config
- `disableDefaultUI`: can be used to disable paths: `${websiteBasePath}/mfa/otp-phone`, `${websiteBasePath}/mfa/otp-email`
- `style`: is applied on top of normal sign in/up styles on the MFA paths
- New embeddable components:
- `MfaOtpPhone` (by default handling path `${websiteBasePath}/mfa/otp-phone`)
- `MfaOtpEmail` (by default handling path `${websiteBasePath}/mfa/otp-email`)
- New overrideable components:
- `PasswordlessMFAHeader_Override`
- `PasswordlessMFAFooter_Override`
- `PasswordlessMFAOTPHeader_Override`
- `PasswordlessMFAOTPFooter_Override`
- Please note, that during MFA we re-use the existing overrideable comps for the form section:
- `PasswordlessEmailForm_Override`
- `PasswordlessPhoneForm_Override`
- `PasswordlessEmailOrPhoneForm_Override`
- Removed an `ErrorBoundary` wrapping all our feature components to make sure all errors are properly catchable by the app
- Added a `footer` prop to `EmailOrPhoneForm`, `EmailForm` and `PhoneForm` which is used to override the default sign in/up footers in case the component is for MFA
- The passwordless and thirdpartypasswordless sign in/up screens now respect the first configuration (defined in the `MultiFactorAuth` recipe or in the tenant information) when selecting the available contact methods.

## [0.35.5] - 2023-10-06

Expand Down
1 change: 0 additions & 1 deletion lib/build/passwordless-shared2.js

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

61 changes: 26 additions & 35 deletions lib/build/passwordless-shared4.js

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

2 changes: 2 additions & 0 deletions lib/build/passwordlessprebuiltui.js

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

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

8 changes: 6 additions & 2 deletions lib/build/recipe/passwordless/prebuiltui.d.ts

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

10 changes: 9 additions & 1 deletion lib/build/recipe/passwordless/types.d.ts

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

Loading

0 comments on commit 4ecfc27

Please sign in to comment.