Generalized Policy Management profile for OpenID Connect
1 Introduction
This section is not normative.
This document provides a mapping profile for Generalized Policy Management (GPM), targeting the OpenID Connect framework. In particular, it maps parameters of the following specifications on the GPM model.
OpenID Connect Core <!-- - OpenID Connect Discovery
OpenID Connect Client-Initiated Backchannel Authentication Flow
OpenID Connect Claims Aggregation
OpenID Connect for Identity Assurance
OpenID Connect for Identity Assurance Claims Registration
OpenID Identity Assurance Schema Definition
OpenID International Government Assurance Profile for OAuth 2.0
OpenID Attachments
OpenID Connect Enterprise Extensions
OpenID Connect MODRNA Authentication Profile
OpenID Connect MODRNA Discovery Profile
OpenID Connect MODRNA Client Initiated Backchannel Authentication Profile
OpenID Connect Native SSO for Mobile Apps
Initiating User Registration via OpenID Connect -->
2 Mapping OpenID Connect to GPM
OpenID Connect overloads the protocol flows and endpoints of OAuth 2.0, to enable access to verifiable subject information.
This document therefore extends the mappings of the GPM profile for OAuth 2.x, specifying mappings for the authorization request~[@map-authz] and the token request~[@map-token]. Parameters that can occur in both kinds of requests are addressed first~[@map-common].
2.1 Common request parameters
For both the authorization request and the token request, OpenID Connect specifies the following additional constraints on the corresponding OAuth 2.0 parameters.
The
scopeof the request MUST contain the valueopenid. Additionally, OpenID Connect defines the optional scope valuesprofile,email,address, andphone.The
redirect_uriparameter is REQUIRED. Its value SHOULD be a URI with thehttpsscheme, unless it concerns a confidential client, or a native application with a localhost URL, loopback IP, or application-specific scheme.
2.2 Authorization request parameters
OpenID Connect authorization requests MUST be processed together with the mappings defined in the corresponding section of the GPM profile for OAuth 2.x, in particular for the required properties client_id, redirect_uri, and response_type; the recommended state; and the optional response_mode. The following additional parameters can occur in the requests.
2.2.1 claims
Target: - Assets("claims.id_token") (opt.) - Assets("claims.userinfo") (opt.)
2.2.2 claims
The claims property is defined in OpenID Connect as optional. Its value is a JSON object with either one of the following fields, or both:
When the
response_typeincludestoken: auserinfofield, the value of which is a JSON object specifying the identity claims that the client expects to retrieve from the user info endpoint using the access token returned from the token endpoint (if successful).When the
response_typeincludesidtoken: anid_tokenfield, the value of which is a JSON object specifying the identity claims that the client expects to receive immediately from the token endpoint as an identity token (if successful).
Both objects consist of key--value pairs in which the key is a string naming a desired claim, and the value is a JSON object providing additional constraints -- a null value indicates a default lack of constraints. The OpenID Connect specification defines the possible constraints, all of which are optional.
2.2.2.1 essential
The constraint field essential has a boolean value, which indicates whether the claim is "essential" (true) to ensure a smooth authorization for the specific task requested by the End-User; or "voluntary" (false, the default).
2.2.2.2 value/values
The constraint field values provides an array of JSON values, representing valid values for the claim in question, indicating the clients expectation that the value of the claim returned in the response is identical to one of these values -- in order of preference. The constraint field value is a shorthand specifying a singular preference.
2.3 Token request parameters
OpenID Connect token requests MUST be processed together with the mappings defined in the corresponding section of the GPM profile for OAuth 2.x. The following additional parameters can occur in the requests.
...