Hi All,

Sent below request, expecting *given_name* claim but ID Token doesn't have
given_name claim when obtaining ID Token from Implicit grant type.

*Request object *

{
  "iss": "KqpUgGLpJaW5n5_OiAJlSnMiCiIa",
  "aud": "https://localhost:9444/oauth2/token";,
  "response_type": "id_token token",
  "client_id": "KqpUgGLpJaW5n5_OiAJlSnMiCiIa",
  "redirect_uri": "http://localhost:8080/playground2/oauth2client";,
  "scope": "openid",
  "state": "af0ifjsldkj",
  "nonce": "n-0S6_WzA2Mj",
  "max_age": 86400,
  "claims": {
    "userinfo": {
      "given_name": {
        "essential": true
      }
    },
    "id_token": {
      "given_name": {
        "essential": true
      },
      "acr": {
        "values": [
          "urn:mace:incommon:iap:silver"
        ]
      }
    }
  }
}

*ID Token*

{
  "at_hash": "A73K_CSStq6fs611ZzFs7A",
  "sub": "admin",
  "aud": [
    "KqpUgGLpJaW5n5_OiAJlSnMiCiIa"
  ],
  "azp": "KqpUgGLpJaW5n5_OiAJlSnMiCiIa",
  "amr": [],
  "iss": "https://localhost:9444/oauth2/token";,
  "exp": 1523335098,
  "nonce": "n-0S6_WzA2Mj",
  "iat": 1523331498,
  "sid": "e7278e7c-224b-45c2-a8e0-e5f36cb77b47"
}


[1]
https://docs.wso2.com/display/IS550/Passing+OIDC+Authentication+Request+Parameters+in+a+Request+Object
[2] https://docs.wso2.com/display/IS550/Request+Object+Support

Thanks,
Gayan
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to