| TOC |
|
OpenID Connect is an identity protocol that provides authentication, authorization, and attribute transmission capability. It allows third party attested claims from distributed sources. The specification suite party attested claims from distributed sources. The specification suite consists of Core, UserInfo, Protocol Bindings, Discovery, Dynamic Client Registration, Session Management, and Framework. This specification is the "Dynamic Client Registration" part of the suite that defines how clients register with OpenID Providers.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 (Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” March 1997.) [RFC2119].
1.
Introduction
2.
Terminology
3.
Discovery
4.
Client Registration Endpoint
4.1.
Request
4.2.
Response
5.
IANA Considerations
6.
Security Considerations
7.
Normative References
Appendix A.
Acknowledgements
Appendix B.
Document History
§
Authors' Addresses
| TOC |
In order for an OpenID Connect [OpenID.Core] (Recordon, D., Sakimura, N., Bradley, J., de Medeiros, B., Jones, M., and E. Jay, “OpenID Connect Core 1.0,” July 2011.) client to utilize OpenID services for a user, the client needs to register with the OpenID Provider to acquire a client ID and shared secret. This document describes how a new client can register with the provider, and how a client already in possession of a client_id can retrieve updated registration information.
The Client Registration endpoint may be co-resident with the token endpoint as an optimization in some deployments.
| TOC |
This specification uses the terms "Access Token", "Refresh Token", "Authorization Code", "Authorization Grant", "Authorization Server", "Authorization Endpoint", "Client", "Client Identifier", "Client Secret", "Protected Resource", "Resource Owner", "Resource Server", and "Token Endpoint" that are defined by OAuth 2.0 (Hammer-Lahav, E., Ed., Recordon, D., and D. Hardt, “OAuth 2.0 Authorization Protocol,” July 2011.) [OAuth.2.0], and the terminology defined in the OpenID Connect Core 1.0 (Recordon, D., Sakimura, N., Bradley, J., de Medeiros, B., Jones, M., and E. Jay, “OpenID Connect Core 1.0,” July 2011.) [OpenID.Core] specification.
| TOC |
OpenID Connect uses the registration_endpoint from the Provider Configuration Response Sec 4.2 (Sakimura, N., Bradley, J., Jones, M., and E. Jay, “OpenID Connect Discovery 1.0,” July 2011.) [OpenID.Discovery].
| TOC |
The Client Registration Endpoint returns registration information for the client to configure itself for the OpenID Provider.
| TOC |
Clients MUST send requests encoded as POST with the following encoded as top level elements of a JSON object:
- type
- REQUIRED. Values "client_associate", "client_update"
- client_id
- OPTIONAL. Used with "client_update"
- client_secret
- OPTIONAL. Used with "client_update"
- contact
- OPTIONAL. JSON Array of e-mail addresses for people allowed to administer the application.
- application_type
- OPTIONAL. "native" or "web"
- application_name
- OPTIONAL. Name of the application to be presented to the user.
- logo_url
- OPTIONAL. URL that a logo for the application can be retrieved from.
- redirect_url
- OPTIONAL. JSON Array of redirect URL
- js_origin_url
- OPTIONAL. JSON Array of Java Script Origins (used for Post Message flow)
- jwk_url
- OPTIONAL. URL for the RP's JSON Web Key (Jones, M., “JSON Web Key (JWK),” April 2011.) [JWK]
- sector_identifier
- OPTIONAL URL to be used in calculating Pseudonymous Identifiers by the OP. The URL contains a file with an array of redirect_url
POST /connect/register HTTP/1.1
Accept: application/json
Host: server.example.com
{ "type": "client_associate",
"redirect_uri": ["https://client.example.com/callback", "https://client.example.com/callback2"],
"logo_url" : "https://client.example.com/logo.png"
}
| TOC |
The response is returned as a JSON object with all the parameters as top level elements.
- client_id
- REQUIRED. The unique client identifier
- client_secret
- REQUIRED. The client secret. This should change with each response.
- expires_in
- REQUIRED. The number of seconds that this id and secret are good for or "0" if it does not expire.
The following is an example response.
HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store
{
"client_id":"SlAV32hkKG",
"client_secret":"cf136dc3c1fd9153029bb9c6cc9ecead918bad9887fce6c93f31185e5885805d",
"expires_in":3600
}
| TOC |
This document makes no request of IANA.
| TOC |
Since requests to the client registration endpoint result in the transmission of clear-text credentials (in the HTTP request and response), the server MUST require the use of a transport-layer security mechanism when sending requests to the token endpoint. The server MUST support TLS 1.2 as defined in [RFC5246], and MAY support additional transport-layer mechanisms meeting its security requirements.
| TOC |
| [JWK] | Jones, M., “JSON Web Key (JWK),” April 2011. |
| [OAuth.2.0] | Hammer-Lahav, E., Ed., Recordon, D., and D. Hardt, “OAuth 2.0 Authorization Protocol,” July 2011. |
| [OpenID.Core] | Recordon, D., Sakimura, N., Bradley, J., de Medeiros, B., Jones, M., and E. Jay, “OpenID Connect Core 1.0,” July 2011. |
| [OpenID.Discovery] | Sakimura, N., Bradley, J., Jones, M., and E. Jay, “OpenID Connect Discovery 1.0,” July 2011. |
| [RFC2119] | Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” BCP 14, RFC 2119, March 1997 (TXT, HTML, XML). |
| TOC |
| TOC |
[[ To be removed from the final specification ]]
-04
-03
-02
-01
| TOC |
| Nat Sakimura | |
| Nomura Research Institute, Ltd. | |
| Email: | n-sakimura@nri.co.jp |
| John Bradley (editor) | |
| Protiviti Government Services | |
| Email: | jbradley@mac.com |
| Michael B. Jones | |
| Microsoft Corporation | |
| Email: | mbj@microsoft.com |