Get device authorization request
GET/v2/oidc/device_authorization/:userCode
Get the device authorization based on the provided "user code". This will return the device authorization request, which contains the device authorization id that is required to authorize the request once the user signed in or to deny it.
Request​
Path Parameters
The user_code returned by the device authorization request and provided to the user by the device.
Responses​
- 200
- 403
- 404
- default
OK
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
deviceAuthorizationRequest
object
The unique identifier of the device authorization request to be used for authorizing or denying the request.
The client_id of the application that initiated the device authorization request.
The scopes requested by the application.
Name of the client application.
Name of the project the client application is part of.
{
"deviceAuthorizationRequest": {
"id": "string",
"clientId": "string",
"scope": [
"string"
],
"appName": "string",
"projectName": "string"
}
}
- Schema
- Example (from schema)
Schema
deviceAuthorizationRequest
object
The unique identifier of the device authorization request to be used for authorizing or denying the request.
The client_id of the application that initiated the device authorization request.
The scopes requested by the application.
Name of the client application.
Name of the project the client application is part of.
{
"deviceAuthorizationRequest": {
"id": "string",
"clientId": "string",
"scope": [
"string"
],
"appName": "string",
"projectName": "string"
}
}
- Schema
- Example (from schema)
Schema
deviceAuthorizationRequest
object
The unique identifier of the device authorization request to be used for authorizing or denying the request.
The client_id of the application that initiated the device authorization request.
The scopes requested by the application.
Name of the client application.
Name of the project the client application is part of.
{
"deviceAuthorizationRequest": {
"id": "string",
"clientId": "string",
"scope": [
"string"
],
"appName": "string",
"projectName": "string"
}
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}