summaryrefslogtreecommitdiff
path: root/service/diagrams/forgot_password.txt
blob: 2a303ddc14ae10c737cbd907f2bce24ac700b671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
title Forgot Password Flow

actor User

User -> PixUA : recovery code and new password

PixUA -> BonafideClient : //handshake//
PixUA -> BonafideClient : recovery code and new password
note right
  generate salt and verifier
end note

BonafideClient -> LeapWebapp : recovery code and new password
note right
  authenticate
  save new password
end note

LeapWebapp -> BonafideClient
BonafideClient -> PixUA

alt successful case
  PixUA -> SoledadClient : new password
  note right : save secret with new password
  SoledadClient -> PixUA

  alt successful case
    PixUA -> User : confirmation page
    note left: start backup account flow
  else soledad failure
    PixUA -> User : error message
  end
else bonafide failure
  PixUA -> User : error message
end