Authentication — who are you? Authorization — what can you do?
Authentication:
Authentication:
Login: username + password
Biometric: fingerprint, face
Token: JWT, session
(Who are you?)
Authorization:
Authorization:
Admin: full access
Editor: edit access
Viewer: read only
(What can you do?)
Key differences: