Action Required : UAA Backwards Compatibility for OpenID Connect ID Token Response Type

Sree Tummidi

Hi All,

Starting with *CF Release 220*, we have added OpenID Connect ID Token
support in UAA.

Currently this feature is *disabled* by default to remain fully backwards


description: When set to true, requests to /oauth/authorize will ignore the
response_type=id_token parameter

*default: true*

Our plan is to provide a *30 Day window *(roughly cf-release slated for 2nd
week of November) for Service Authors and other integrators using UAA as
the token server. We will be removing the feature flag and support ID token
response by default after 2nd week of November

*Action Required:*

1. If you have a custom implementation of OAuth client, please update
the parsing logic to handle the response of the /oauth/authorize endpoint.
The main change is that the Location header will have a Fragment (#) and
not a Query String (?). *See [1] below*
2. If you are using the cf-uaa-lib
<>, Please update to version
3. If you are using a third party library for OAuth/OpenID Connect, most
likely it already supports parsing the response properly and there is no
action required.

Please test your Services or Application using UAA with the
*uaa.id_token.disable* set to *false*

*[1] Details*

During invokation of the /oauth/authorize URL, the normal process is to
specify response_type=code

Some libraries have been specifying response_type=code+id_token

This is a OpenID Connect extension. Previously the UAA ignored the id_token
response_type, but now we have added support. This changes the response of
the /oauth/authorize. The main change is that the Location header will have
a Fragment (#) and not a Query String (?)

$ uaac target http://login. <>

$ uaac token owner get cf marissa -s "" -p koala

$ uaac curl "
http://login. <>{system-domain}

$ uaac curl "http://login. <>

Location: http://localhost?code=5G9Rm1


Location: http://localhost#

Sree Tummidi
Sr. Product Manager
Identity - Pivotal Cloud Foundry

Join { to automatically receive all group messages.