Skip to main content

Authorize or deny device authorization

POST 

/v2/oidc/device_authorization/:deviceAuthorizationId

Authorize or deny the device authorization request based on the provided device authorization id.

Request​

Path Parameters

    deviceAuthorizationId stringrequired

    The device authorization id returned when submitting the user code.

Body

required

    session

    object

    To authorize the device authorization request, the user's session must be provided.

    sessionId string

    Possible values: non-empty and <= 200 characters

    ID of the session, used to login the user. Connects the session to the Auth Request.

    sessionToken string

    Possible values: non-empty and <= 200 characters

    Token to verify the session is valid

    deny object

    Deny the device authorization request.

Responses​

OK

Schema

    object

Loading...