Jeudi 03 Décembre 2026 20:00:37 GMT+01:00

Netcrook

AccueilManifeste
Actualités
Techcrook
Geocrook
WikicrookÉquipeAppContact
EnglishItaliano

WIKICROOK

Device-code flow

An OAuth sign-in method for devices with limited input, where the user completes authentication on another device.

Device-code flow is an OAuth sign-in method for devices or apps that cannot comfortably show a full login screen, such as smart TVs, command-line tools, or limited-input devices. The device displays a short code and a verification URL, and the user completes authentication on a separate browser or phone. After the user approves the sign-in, the device receives tokens that let it access the account.

This flow matters because it is convenient, but it also creates a phishing opportunity. An attacker can present a legitimate-looking code prompt, persuade a victim to authenticate on a real Microsoft or cloud login page, and then reuse the resulting access or refresh token. In that case, the password may remain unknown to the attacker while the account is still compromised. Defenders reduce this risk with phishing-resistant MFA, Conditional Access rules, and careful review of sign-in logs, token activity, and unusual device-code authentications.

← index WIKICROOK