Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

Scopes that include client_id in Authorization/Token request are not present in the token response.

Symptoms

Access Token request returns following in scope even though the correct scope is passed in Authorization/Token Request:

...

Expected Values:   "scope": "openid 1db8220d-a74c-4d73-bdd2-6463fde57d97"

Solution

In order to get scopes available in the response, you need to add authorisation policy for needed scopes

Add the client_id into the scope accordingly:

Example:

Add it to the authorisation policy as single value attribute:

...