Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 529 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 529 Bytes

auth-strategies

Authentication strategies

Le's exploring the different authentication strategies by taking advantage of the cookies and sessions.

1. Magic link

flowchart
S[New User] --> A
A(Provides an email) --> B{Email already exists in db?}
B --> |No| C[Send a migc link with an One-Time-Password]
B --> |Yes| D[Error message and invite to log in]
C --> |Valid code| E[User can finish the Sign Up Process]
C --> |Invalid code| F[Check the provided code or request another code if it expired]
Loading