tapis-project / authenticator

BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

feat: GH-85 MFA autocomplete #85

Closed wesleyboar closed 2 months ago

wesleyboar commented 2 months ago

Overview

Support MFA autocomplete.

Related

Testing & UI

Current OTP Value Is Used

Prerequisites - Have [MFA](https://docs.tacc.utexas.edu/basics/mfa/) enabled for a Tapis tenant. - Have an [OTP](https://en.wikipedia.org/wiki/One-time_password) client - integrated with your browser (likely as an extension) - configured for `localhost:5000/v3/oauth2`
  1. Open http://localhost:5000/v3/oauth2/tenant.
  2. Select any tenant for which MFA is enabled.
  3. Log in.
  4. Verify OTP client offers autofill.
  5. Autofill and submit.
  6. Verify success i.e. authorization form loads.
4. 5. 6.
autofill offered autofill works submit success

Old Autofill Values Are Not Used

[!IMPORTANT] Will be solved separately, for #82.

Prerequisites - Have [MFA](https://docs.tacc.utexas.edu/basics/mfa/) enabled for a Tapis tenant. - Have your browser's built-in autofill feature - enabled - with some tokens already remembered for `localhost:5000/v3/oauth2`