language in token response may appears to override iidcc

Issue #137 resolved
Joseph Heenan created an issue

10.1.1. Successful Token Response says:

After receiving and validating a valid and authorized Token Request from the Client and when the end-user associated with the supplied auth_req_id has been authenticated and has authorized the request, the OpenID Provider returns a successful response that includes an ID Token, an Access Token and optionally a Refresh Token as specified in Section 3.1.3.3 of [OpenID.Core].

I'm not sure if it's deliberate, but this implies to me that the scope parameter (as defined in https://tools.ietf.org/html/rfc6749#section-5.1 ) cannot be returned.

Comments (6)

  1. Dave Tonge

    This isn't deliberate. Are you sure it could be misread the way you are saying?

    The language in OIDC 3.1.3.3 is:

    After receiving and validating a valid and authorized Token Request from the Client, the Authorization Server returns a successful response that includes an ID Token and an Access Token. The parameters in the successful response are defined in Section 4.1.4 of OAuth 2.0 [RFC6749]. The response uses the application/json media type.

    I'm not sure how we could word it differently? But open to suggestions

  2. Joseph Heenan reporter

    The simplest change would be :

    the OpenID Provider returns a successful response as specified in Section 3.1.3.3 of [OpenID.Core].

    (The issue in the current language is it’s not clear if the 3.1.3.3 language refers to the whole response or just the refresh token.)

  3. Log in to comment