[14] [DFN[[CODE(URI)@en[[[error_description]]]]]] [[引数]]は、
[[人間可読]]の追加情報の文章で、
[[クライアント]]の開発者が[[誤り]]を理解することを助けるために使うものです [SRC[>>1, >>19, >>20, >>4]]。

;; [5] [[人間可読]]ですが、[[末端利用者]]向けではありません [SRC[>>4]]。

* 仕様書

[REFS[
- [1] [CITE@en[RFC 6749 - The OAuth 2.0 Authorization Framework]] ([TIME[2014-12-15 14:15:35 +09:00]] 版) <http://tools.ietf.org/html/rfc6749#section-4.1.2.1>
- [19] [CITE@en[RFC 6749 - The OAuth 2.0 Authorization Framework]] ([TIME[2014-12-15 14:15:35 +09:00]] 版) <http://tools.ietf.org/html/rfc6749#section-4.2.2.1>
- [20] [CITE@en[RFC 6749 - The OAuth 2.0 Authorization Framework]] ([TIME[2014-12-15 14:15:35 +09:00]] 版) <http://tools.ietf.org/html/rfc6749#section-5.2>
- [3] [CITE@en[RFC 6749 - The OAuth 2.0 Authorization Framework]] ([TIME[2014-12-15 14:15:35 +09:00]] 版) <http://tools.ietf.org/html/rfc6749#appendix-A.8>
- [4] [CITE@en[RFC 6750 - The OAuth 2.0 Authorization Framework: Bearer Token Usage]] ([TIME[2015-02-11 06:22:47 +09:00]] 版) <http://tools.ietf.org/html/rfc6750#section-3>
- [6] [CITE@en[RFC 6749 - The OAuth 2.0 Authorization Framework]] ([TIME[2014-12-15 14:15:35 +09:00]] 版) <http://tools.ietf.org/html/rfc6749#section-5.2>
]REFS]

* 構文

[15] [CODE(char)[[[U+0020]]]] を含み、 [CODE(char)[[[U+0022]]]] と [CODE(char)[[[U+005C]]]]
を含まない[[印字可能ASCII文字]]しか含んでは[['''なりません''']] [SRC[>>1, >>19, >>20, >>3, >>4]]。
[[空文字列]]にはできません [SRC[>>3]]。

* 文脈

[2] [[認可エンドポイント]]からの[[リダイレクト]]によって[[誤り]]を通知する場合、
[CODE(URI)@en[[[error_description]]]] [[引数]]を指定できます。 [SRC[>>1, >>19]]

;; [[URL query]] に指定する場合 [SRC[>>1]] と[[素片識別子]]に指定する場合 [SRC[>>19]]
があります。

[24] [[トークンエンドポイント]]や[[revokeエンドポイント]]からの [[JSON]] [[応答]]によって[[誤り]]を通知する場合、
[CODE(URI)@en[[[error_description]]]] [[引数]]を指定できます。 [SRC[>>20, >>6]]

[26] [[アクセストークン]]を指定するために使う [CODE(ABNF)@en[[[auth-scheme]]]] は、
[[誤り]]の報告に [CODE(URI)@en[[[error_description]]]] [[引数]]を使うことができます。
具体的には [CODE(HTTP)@en[[[Bearer]]]] で採用されています [SRC[>>24]]。

;; [[資源鯖]]参照。

[7] [CITE@en[Final: OpenID Connect Dynamic Client Registration 1.0 incorporating errata set 1]]
([TIME[2014-11-09 04:02:08 +09:00]] 版)
<http://openid.net/specs/openid-connect-registration-1_0.html#RegistrationError>