Device Authorization Grant
+2. Wait for user to enter the user code
+We do so by periodically polling authorization server at:
+
+ With body data:
+
+ Let's break it down...
+-
+
-
+
grant_type=urn:ietf:params:oauth:grant-type:device_code
++ This is a mandatory parameter that indicates the type of grant being used. In this case we are using the device code. +
+
+ -
+
client_id=
++ Client ID of the application. This is a public identifier for the client, and it is + used by the authorization server to identify the application + when redirecting the user back to the client. +
+
+ -
+
device_code=
++ Device code we have obtained in the previous step. +
+
+
+