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

Google Authenticator - Workflow. Implementation #5

Closed
sashas777 opened this issue Apr 16, 2020 · 2 comments · Fixed by #32
Closed

Google Authenticator - Workflow. Implementation #5

sashas777 opened this issue Apr 16, 2020 · 2 comments · Fixed by #32
Assignees
Labels
feature New feature or request
Projects
Milestone

Comments

@sashas777
Copy link
Collaborator

sashas777 commented Apr 16, 2020

Configuration
Stores -> Configuration->Security->2FA: Enable for Customers and Enable Google Authenticator.
[FE] Customer ->2FA tab -> Enable Google Authenticator

Workflow

  1. Customer Login -> Username/Password verified
  2. Before Magento sets customer as logged in there suppose to be QR code and text field for Google Athenticator number and validation code.
  3. Once the validation code entered based on validation result customer logs in or error message shown.
    image
@sashas777 sashas777 added this to the Planning milestone Apr 16, 2020
@sashas777 sashas777 added this to To do in Development via automation Apr 16, 2020
@sashas777 sashas777 added the discussion Discussion on a feature/bug label Apr 16, 2020
@sashas777 sashas777 self-assigned this Apr 18, 2020
@sashas777 sashas777 added feature New feature or request and removed discussion Discussion on a feature/bug labels Apr 19, 2020
@sashas777 sashas777 moved this from To do to In progress in Development Apr 19, 2020
@sashas777 sashas777 linked a pull request Apr 20, 2020 that will close this issue
Development automation moved this from In progress to Done Apr 20, 2020
@sashas777 sashas777 reopened this Apr 20, 2020
Development automation moved this from Done to In progress Apr 20, 2020
@sashas777
Copy link
Collaborator Author

A Customer clicks Login with Google:

  1. Code checks if customer configured providers -
    1.1 If configured then customer lands on auth page
    1.2 if not configured customer goes to configuration page.

encoded_config - attribute for configuration.

@sashas777
Copy link
Collaborator Author

Decrypted structure

array(2) { ["google"]=> array(1) { ["secret"]=> string(205) "xxxx" } ["duo_security"]=> array(1) { ["active"]=> bool(true) } }

@sashas777 sashas777 removed a link to a pull request Apr 25, 2020
@sashas777 sashas777 linked a pull request Apr 25, 2020 that will close this issue
Development automation moved this from In progress to Done Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
No open projects
Development
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant