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

2 fa #58

Closed
wants to merge 26 commits into from
Closed

2 fa #58

wants to merge 26 commits into from

Conversation

B-ki
Copy link
Owner

@B-ki B-ki commented Nov 13, 2023

Still a problem to solve :
If 2fa activated, after login, a token is set, so it's possible to reach all pages.
Solutions available :

  • Front token logic : If 2FA enabled and 2FA auth not validated -> setToken(null). Need to add a isTwoFaAuthSuccess: boolean in the jwtToken
  • API : Enable 2FA connection without any guard, ands setToken after 2FA is enabled

@B-ki B-ki closed this Nov 13, 2023
@B-ki B-ki reopened this Nov 13, 2023
@B-ki B-ki closed this Nov 13, 2023
@B-ki B-ki deleted the 2FA branch November 13, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants