Sequence diagram fix

Hopefully the last
This commit is contained in:
2026-05-22 15:11:15 +02:00
parent 50c79231bb
commit 663f61fa34

View File

@@ -328,7 +328,10 @@ sequenceDiagram
alt Password Valid alt Password Valid
Note over BE: Generate JWT token containing claims (sub: user_id) Note over BE: Generate JWT token containing claims (sub: user_id)
Note over BE: Build HttpOnly, Secure, Lax cookie 'token' Note over BE: Build HttpOnly, Secure, Lax cookie 'token'
BE-->>FE: "HTTP 200 OK {\"status\": \"success\", \"token\": \"...\", \"user\": {...}}<br/>Header: Set-Cookie: token=...; Path=/; HttpOnly; SameSite=Lax"
BE-->>FE: HTTP 200 OK {"status": "success", "token": "...", "user": {...}}
Note over BE,FE: Set-Cookie: token=...; Path=/; HttpOnly; SameSite=Lax
Note over FE: Save auth state to global context Note over FE: Save auth state to global context
FE-->>User: Redirect to Dashboard / Home FE-->>User: Redirect to Dashboard / Home
else Password Invalid else Password Invalid