Recommended: JavaScript SDK with React Hooks
For new React apps, we recommend the JavaScript SDK with React Hooks (
@dynamic-labs-sdk/react-hooks) instead of the legacy React SDK documented here. The JS SDK comes with many benefits such as a much smaller bundle size and other optimizations. Use the React quickstart (JavaScript SDK) to get started.Deleting a device
Users might need to delete an MFA device if it’s lost or replaced. To do so, first authenticate with the device, then use thedeleteUserDevice function.
Delete a TOTP device with TOTP code:
Admin Reset
If a user loses all their devices and recovery codes, an admin can reset their MFA from the Dynamic dashboard.- Go to the Users page in the Dynamic Dashboard.
- Find the user and open their detail panel.
- In the Security section, click Reset MFA.
- Confirm the action.