OAuth Device Authorization Grant

OAuth Device Authorization Grant

animation
authentication
security

Run it: Before you answer, watch the Device Authorization Grant play out in the animation below. Choose a device such as Smart TV or Factory sensor and step the Valid flow with Next to see the device request a user_code, display it, and poll (keep asking) the token endpoint, the server address that issues tokens, until the user approves on a second screen. Then run Expired code and Over-polling to see why polling must back off and stop, and Code phishing (a trick that fools a person into entering a code for an attacker) to see the risk the displayed user_code introduces. Use the Flow, Polling, Risk, and Tokens views to ground your answer to the question below.

Open OAuth Device Authorization Grant.

Back to the chapter