You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
participantgroup #lightblue:0.5 Core
participant Frontend
participant Backend
end
participantgroup #lightgreen:0.5 ExternalServices
database MongoDB
participant S3
participant EmailService
end
User->Frontend: Login: input email
Frontend->Backend: consult email
Backend->Backend: user exist\ngenerate token
Backend->EmailService: call to send token to user email
EmailService->User: 2FA code in email
User->Frontend: input 2FA code
Frontend->Backend: validate token
Backend->Frontend: token valid
Backend->Frontend: JWT token auth
Frontend->Frontend: user authenticated
Frontend->Backend: Get .pdf POAP
Backend<->MongoDB: SELECT metadata FROM user BY id
Backend->Frontend: .pdf link POAP
Frontend<->S3: get .pdf by link
Frontend->User: show .pdf POAP
The text was updated successfully, but these errors were encountered:
PoC - Existent User Interaction
Sequencer Diagram txt
title PoC: Existent User Interaction
actor User
participantgroup #lightblue:0.5 Core
participant Frontend
participant Backend
end
participantgroup #lightgreen:0.5 ExternalServices
database MongoDB
participant S3
participant EmailService
end
User->Frontend: Login: input email
Frontend->Backend: consult email
Backend->Backend: user exist\ngenerate token
Backend->EmailService: call to send token to user email
EmailService->User: 2FA code in email
User->Frontend: input 2FA code
Frontend->Backend: validate token
Backend->Frontend: token valid
Backend->Frontend: JWT token auth
Frontend->Frontend: user authenticated
Frontend->Backend: Get .pdf POAP
Backend<->MongoDB: SELECT metadata FROM user BY id
Backend->Frontend: .pdf link POAP
Frontend<->S3: get .pdf by link
Frontend->User: show .pdf POAP
The text was updated successfully, but these errors were encountered: