The wizard's a2loft calls now authenticate with the session token and carry no OTP. Field pass in production: the lookup and both fingerprint saves succeeded with no OTP, so task 3.2 is done. Merged the fingerprint-wizard and tools-app deltas into the main specs and archived the change.
1.3 KiB
1.3 KiB
Tasks
1. Proxies
- 1.1
tools/server.js:a2loftUrl/a2loftSaveUrldropphone/otp; both handlers sendAuthorization: Bearer ${req.session.token};validateProxydrops the OTP/phone checks and keeps domain + reference. Verified: the proxy tests assert the Bearer header and no query auth. - 1.2 Update the proxy tests: assert no
?otp, assert the Bearer header, and drop the no-OTP rejection case while the auth/domain rejection remains (no a2loft call). Verified.
2. Wizard UI
- 2.1
tools/public/assets/fp/index.html: remove the lookup and save OTP inputs. - 2.2
tools/public/assets/fp/app.js: removeotpLookup/otpSave, theotprequest params, and the OTP resets; tightencanLookup/canSave. Verified: the served page has no OTP field (server test) and both gates pass without a credential (wizard test). - 2.3 Update the
fingerprint-wizardandtools-appspec deltas, README steps 1/3, the a2loft proxy paragraph, and the Help page.
3. Verify
- 3.1 Run the full tools test suite (
node --test) and confirm it passes. (66/66 pass.) - 3.2 Field pass against a real domain (a2loft deployed): look up a reference and save both fingerprints with no OTP. Verified in production: the lookup and both fingerprint saves succeeded with no OTP.