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

Add TOTP Authenticator support to client #70

Closed
14 tasks done
lanedirt opened this issue Jun 27, 2024 · 0 comments · Fixed by #182
Closed
14 tasks done

Add TOTP Authenticator support to client #70

lanedirt opened this issue Jun 27, 2024 · 0 comments · Fixed by #182
Labels
enhancement New feature or request

Comments

@lanedirt
Copy link
Owner

lanedirt commented Jun 27, 2024

  • Add 2FA login to Admin app (template already provided options)
  • Add 2FA to client app login before syncing client database
  • Force 2FA to be required on admin app, or at least highlight it on every page if it isn't set yet.
  • Check possibiltiy to make it generic so we can support it both for logging in to AliasVault itself and for credentials to store the OTP token there and generate a OTP token for that specific credential.

For client flow:

  • When 2FA is enabled, require 2FA when logging in on the machine for the first time. Next, as long as the JWT refresh token stays valid 2FA is not required anymore. So for login 2FA is always required, but for unlock not.
  • Add E2E test that verifies the create user, setup 2FA, login with 2FA required flow.

Extend admin settings:

  • Add option to disable 2FA for specific user.

Extend client settings screen with:

  • Check if 2FA is currently enabled for user.
  • If enabled: show option to revoke existing 2FA and setup with new key.
  • Add recovery codes output after enabling authenticator app for recovery purposes.
  • Make recovery code input step work during login.
  • Add admin option to reset authenticator keys in case user authenticator got compromised.
  • Add E2E tests for recovery codes.
  • Refactor API auth and client login to reduce duplicate code.
@lanedirt lanedirt added the enhancement New feature or request label Jun 27, 2024
@lanedirt lanedirt added this to the Usability / UX polishing milestone Aug 16, 2024
@lanedirt lanedirt moved this to Ready in AliasVault Aug 16, 2024
@lanedirt lanedirt changed the title Add TOTP Authenticator support Add TOTP Authenticator support to client Aug 19, 2024
lanedirt added a commit that referenced this issue Aug 23, 2024
@lanedirt lanedirt moved this from Ready to In progress in AliasVault Aug 23, 2024
@lanedirt lanedirt linked a pull request Aug 26, 2024 that will close this issue
lanedirt added a commit that referenced this issue Aug 26, 2024
lanedirt added a commit that referenced this issue Aug 26, 2024
lanedirt added a commit that referenced this issue Aug 26, 2024
lanedirt added a commit that referenced this issue Aug 26, 2024
lanedirt added a commit that referenced this issue Aug 26, 2024
Update Login.razor (#70)
Code style refactor (#70)
Update JSON models to have required properties (#70)
@github-project-automation github-project-automation bot moved this from In progress to Done in AliasVault Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant