Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): initial implementation of user set mfa secrets / codes #6654

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atarbalouti
Copy link

Summary

This adds the possibility to add user set mfa secrets (TOTP / backup codes). This is necessary for the creation of such secrets directly in the application, because the user has first to confirm the answer or that he printed the backup codes before really creating them in Logto.

Testing

Manually by creating a TOTP secret.

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

Copy link

github-actions bot commented Oct 6, 2024

COMPARE TO master

Total Size Diff 📈 +5.27 KB

Diff by File
Name Diff
packages/core/src/routes/admin-user/mfa-verification.openapi.json 📈 +1.15 KB
packages/core/src/routes/admin-user/mfa-verifications.test.ts 📈 +2.8 KB
packages/core/src/routes/admin-user/mfa-verifications.ts 📈 +1.02 KB
packages/core/src/routes/interaction/utils/backup-code-validation.ts 📈 +198 Bytes
packages/phrases/src/locales/en/errors/user.ts 📈 +118 Bytes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant