Closed Bug 1003882 Opened 10 years ago Closed 10 years ago

[Spartacus] Implement reset logout/re-auth flow.

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P2)

Avenir
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: scolville, Assigned: scolville)

References

Details

(Whiteboard: [qa-])

This is the UI shown when clicking forgot pin. It's distinct from the actual pin resetting steps.

On clicking cancel the user should return to enter-pin assuming it's relevant.

On clicking continue the user should be put through the following flow:

* Logout from persona and provider
* Login successfully 
* Then they can start the reset pin flow proper.

It's likely this will need an API flag similar to the ones for the locked status to inform the UI when to show the necessary forms.
Assignee: nobody → scolville
Status: NEW → ASSIGNED
Priority: -- → P2
Summary: Implement reset start flow. → [Spartacus] Implement reset start flow.
Depends on: 1014126
The 'reset-start' page is complete. The remaining tasks here are implementing the client-side bits in Spartacus to handle the actual reset. 

e.g.

Logging out of Persona/Webpay/Provider (Bango requires this not Boku)
Re-authentication via persona.
And after successful re-auth -> reset-pin.

The actual reset-pin views are done so except minor tweaks this should mostly be about the logout + re-auth.
Summary: [Spartacus] Implement reset start flow. → [Spartacus] Implement reset logout/re-auth flow.
Note: bug 851676 is a condition of satisfaction of this implementation.
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
PT1 is in https://github.com/mozilla/spartacus/commit/2a4b91c41eb952d3d799a0efb3b1dc4e2bf1a61a

next step (in progress) is locally validating the reset flow and any tweaks + some flow docs for in-depth how it happens to aid validation.
Depends on: 1024616
Depends on: 1026593
As discovered at the tail-end of last-week. navigator.id.request must be called from a click or it doesn't work correctly. Raised bug 1026593 to track it.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.