oauth2.dev

urn:ietf:params:oauth:grant-type:device_code

IESG

Registry Context

This URN identifies the OAuth 2.0 Device Authorization Grant Type. A client uses it as the grant_type value in a device access token request.

Technical Summary

RFC 8628 defines this URN as an OAuth extension grant type for device access token requests and registers it in the IANA OAuth URI registry.

When Used

When a client sends a device access token request to the token endpoint.

Normative Requirements

Clients

MUST
1
  1. RFC 8628 - Section 3.4

    set grant_type to "urn:ietf:params:oauth:grant-type:device_code".

    Condition: when sending a device access token request

    Value MUST be set to "urn:ietf:params:oauth:grant-type:device_code".

REQUIRED
1
  1. RFC 8628 - Section 3.4

    include the grant_type parameter in the device access token request.

    Condition: when sending a device access token request

    grant_type REQUIRED.

Validation Guidance

error

Verify that a device access token request includes grant_type and that its value exactly equals urn:ietf:params:oauth:grant-type:device_code.

Reference

Details

Entry Id
urn:ietf:params:oauth:grant-type:device_code
Urn
urn:ietf:params:oauth:grant-type:device_code
Common Name
Device flow grant type for OAuth 2.0
Change Controller
IESG
Reference
RFC8628 - Section 3.1