You are in a 45-minute interview. Security details matter as much as boxes and arrows.
The system serves a consumer product with tens of millions of users.
Other internal services must trust identities without calling you every time.
Salt
Random data added to a password before hashing, so equal passwords hash differently.
JWT
A signed token that carries claims such as user id and expiry; anyone with the public key can verify it.
Refresh token
A long-lived credential used only to get new access tokens; stored server-side so it can be revoked.
MFA
Requiring a second proof, such as a code from an app, in addition to a password.
PKCE
An extension to the OAuth code flow that stops a stolen authorization code from being used.
Credential stuffing
Trying username/password pairs leaked elsewhere, hoping people reused them.
Decisions you confirm will collect here as you go.