Step 2

Once we have the token, if we direct the client to load up: https://app.plex.tv/auth#?clientID=TestClient&code=examplecode&context%5Bdevice%5D%5Bproduct%5D=ExampleProduct&context%5Bdevice%5D%5Bplatform%5D=Windows_NT&context%5Bdevice%5D%5BplatformVersion%5D=10.0.16299&context%5Bdevice%5D%5Bversion%5D=1.0.0

Breakdown of the HTTP Query

Key

Value

Example

clientID

The X-Plex-Client-Identifier you provided before

TestClient

code

the Code from the return of Step 1

examplecode

context[device][product]

The name of the product given

Test

context[device][platform]

The platform for the device

Windows_NT

context[device][platformVersion]

The version of the platform above

10.0.16299

context[device][version]

The version of the product given

1.0.0

Step 3

When we now poll https://plex.tv/api/v2/pins/{pin} this will then give us back a similar example as above in Step 1 but assuming Step 2 was done, authToken will not be null.