• Articles
  • Configuration
  • Developers
  • Contact
  • Privacy & Terms
Show / Hide Table of Contents
  • Tokens
  • Requesting a Token
  • Refreshing a Token
  • Discovery Endpoint
  • Authorize Endpoint
  • Token Endpoint
  • UserInfo Endpoint
  • Introspection Endpoint
  • Revocation Endpoint
  • End Session Endpoint
  • Device Authorization Endpoint

Device Authorization Endpoint

The device authorization endpoint can be used to request device and user codes. This endpoint is used to start the device flow authorization process.

client_id: client identifier (required)

client_secret: client secret either in the post body, or as a basic authentication header. Optional.

scope: one or more registered scopes. If not specified, a token for all explicitly allowed scopes will be issued

POST /connect/deviceauthorization

    client_id=client1&
    client_secret=secret&
    scope=openid api1

.NET client library

You can use the IdentityModel client library to programmatically interact with the protocol endpoint from .NET code.

using IdentityModel.Client;

var client = new HttpClient();

var response = await client.RequestDeviceAuthorizationAsync(new DeviceAuthorizationRequest
{
    Address = "https://transformidentity.com/connect/device_authorize",
    ClientId = "device"
});
Back to top © 2020 Technology Transformation Group Limited.  All rights reserved.