summaryrefslogtreecommitdiff
path: root/service/diagrams/forgot_password.txt
diff options
context:
space:
mode:
Diffstat (limited to 'service/diagrams/forgot_password.txt')
-rw-r--r--service/diagrams/forgot_password.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/service/diagrams/forgot_password.txt b/service/diagrams/forgot_password.txt
new file mode 100644
index 00000000..2a303ddc
--- /dev/null
+++ b/service/diagrams/forgot_password.txt
@@ -0,0 +1,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