Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC - Existent User Interaction #2

Open
olivmath opened this issue Nov 6, 2024 · 0 comments
Open

PoC - Existent User Interaction #2

olivmath opened this issue Nov 6, 2024 · 0 comments

Comments

@olivmath
Copy link
Collaborator

olivmath commented Nov 6, 2024

PoC - Existent User Interaction

Untitled-2

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant