Authentication vs Authorization
Authentication proves who you are; authorization decides what you may do.
Authentication proves who you are; authorization decides what you may do.
Authentication (AuthN) verifies identity — a login, a token, a passkey. Authorization (AuthZ) enforces permissions once identity is established. Confusing the two is a common source of security bugs.