Authentication Lab
Practice real, backend-verified authentication — login, session reuse, role-based access, token expiry, and 401 vs 403. Every step below hits the real API. Nothing here is simulated.
Key Topics
Guest
User —
Role —
Cookie Not set
JWT Not issued
Storage State Not captured
Provider Email / Password (JWT)
✓ Authentication Complete
You successfully:
✓ Logged in✓ Created a session✓ Reused authentication
✓ Tested authorization✓ Handled expiry✓ Understood 401 vs 403
Authenticate with a real account and receive a JWT + session cookie. Edit the JSON body below and click Execute to send the real request.
POST
/api/auth/login
Body (JSON) — edit email/password, then Execute sends exactly this
Can't send this request
Calling /api/auth/login…
Logged in ✓
Email:
Token (first 32 chars): …
Login failed
Current Execution
No request executed yet — log in above to see it here.
Status Not run yet
Message Not run yet
Response Body
Not run yet