DraftN. Sakimura
 J. Bradley, Ed.
 M. Jones
 July 6, 2011

OpenID Connect Dynamic Client Registration 1.0 - draft 03


OpenID Connect is an identity framework 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.

Requirements Language

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].

Table of Contents

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


1.  Introduction

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.


2.  Terminology

An application obtaining authorization and making protected resource requests.
A human resource owner.
A human resource owner that is the target of a request in Simple Web Discovery.
OpenID Provider (OP)
Authorization Servers that are able to support OpenID Connect Messages.
Relying Party (RP)
Client and Resource Servers.
End-User Authorization Endpoint
The Authorization Server's endpoint capable of authenticating the End-User and obtaining authorization.
Client Identifier
A unique identifier that the client uses to identify itself to the OP.
Token Endpoint
The Authorization Server's HTTP endpoint capable of issuing tokens.
OP Endpoints
End-User Authentication, Authorization, and Token Endpoint.
RP Endpoints
The endpoint to which the OP responses are returned through redirect.
UserInfo Endpoint
A protected resource that when presented with a token by the client returns authorized information about the current user.
An Identifier is either an "http" or "https" URI, (commonly referred to as a "URL" within this document), or an account URI. This document defines various kinds of Identifiers, designed for use in different contexts.


3.  Discovery

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].


4.  Client Registration Endpoint

The Client Registration Endpoint returns registration information for the client to configure itself for the OpenID Provider.


4.1.  Request

Clients MAY send POST requests with the following encoded as top level elements of a JSON object

REQUIRED. Values "client_associate", "client_update"
OPTIONAL. Used with "client_update"
OPTIONAL. Used with "client_update"
OPTIONAL. JSON Array of e-mail addresses for people allowed to administer the application.
OPTIONAL. "native" or "web"
OPTIONAL. Name of the application to be presented to the user.
OPTIONAL. URL that a logo for the application can be retrieved from.
OPTIONAL. JSON Array of redirect URL
OPTIONAL. JSON Array of Java Script Origins (used for Post Message flow)
OPTIONAL. URL for the RP's JSON Web Key (Jones, M., “JSON Web Key (JWK),” April 2011.) [JWK]
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

{ "type": "client_associate",
   "redirect_uri": ["", ""],
   "logo_url" : ""


4.2.  Response

The response is returned as a JSON object with all the parameters as top level elements.

REQUIRED. The unique client identifier
REQUIRED. The client secret. This should change with each response.
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



5.  IANA Considerations

This document makes no request of IANA.


6.  Security Considerations

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.


7. Normative References

[JWK] Jones, M., “JSON Web Key (JWK),” April 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).


Appendix A.  Acknowledgements


Appendix B.  Document History

[[ To be removed from the final specification ]]





Authors' Addresses

  Nat Sakimura
  Nomura Research Institute, Ltd.
  John Bradley (editor)
  Protiviti Government Services
  Michael B. Jones
  Microsoft Corporation