跳到主要内容

4. Discovery Metadata (发现元数据)

对此协议的支持在 OAuth 2.0 Authorization Server Metadata [RFC8414] 中声明如下. 值 "urn:ietf:params:oauth:grant-type:device_code" 包含在 "grant_types_supported" 键的值中, 并添加以下新的键值对:

device_authorization_endpoint (设备授权端点)

  • OPTIONAL. authorization server 的设备授权端点 URL, 如第 3.1 节所定义.