Start with Identity
← Glossary
Protocol

Device Authorization Grant

An OAuth 2.0 flow (RFC 8628) for input-constrained devices like TVs and CLIs. The user authorizes on a second device using a short code.

Device code flow is the most abused legitimate flow in identity right now. It deliberately separates the device requesting access from the device approving it, which is what makes it work for a TV and what makes it perfect for phishing: the victim approves a real Microsoft or Google prompt, and the attacker receives the tokens. Both state-linked crews and commodity kits adopted it in 2026. If your tenant has no input-constrained devices, disable it by policy.

See also: OAuth 2.0, authorization code flow, token theft, conditional access

Last reviewed By SWI Community TeamSuggest a correctionHow we research