Skip to content

What a device code asks for

GET
/api/v1/oauth/device/{code}
curl --request GET \
--url http://localhost:3000/api/v1/oauth/device/example \
--header 'Authorization: Bearer <token>'

Signed in: the client, and the projects and scopes you can give it.

Any caller; the scope needed is checked on what it acts on.

code
required
string

The user code, e.g. WDJB-MJHT

The request

An error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"detail": "example"
}
}