Test info
Profile: {'openid-configuration': 'config', 'extras': True, 'response_type': 'code', 'crypto': 'encrypt+sign', 'registration': 'dynamic'}
Timestamp: 2016-12-17T11:46:51Z
Test description: Supports returning different claims in ID Token and UserInfo Endpoint [Extra]
Test ID: OP-claims-Split
Issuer: https://demo.c2id.com/c2id
Test output
__RegistrationRequest:post__
[check]
status: INFORMATION
description: Registration Response
info: {"post_logout_redirect_uris":["https:\/\/op.certification.openid.net:60784\/logout"],"grant_types":["authorization_code"],"subject_type":"public","default_max_age":3600,"application_type":"web","registration_client_uri":"https:\/\/demo.c2id.com\/c2id\/clients\/raid2v3sx53fq","redirect_uris":["https:\/\/op.certification.openid.net:60784\/authz_cb"],"registration_access_token":"hGWW6nO99poaMwdrZVFa0m3ty9nAZubqm5ZbMFSca6c.YSxpLHI","token_endpoint_auth_method":"client_secret_basic","client_id":"raid2v3sx53fq","client_secret_expires_at":0,"require_auth_time":true,"client_id_issued_at":1481975207,"client_secret":"LecrMFtkyYHYMiEUalEEOJRP_oyTLjyhmK1nwJbNGN4","contacts":["roland.hedberg@umu.se"],"response_types":["code"],"id_token_signed_response_alg":"RS256"}
__AuthorizationRequest:pre__
[check-response-type]
status: OK
description: Checks that the asked for response type are among the supported
[check-endpoint]
status: OK
description: Checks that the necessary endpoint exists at a server
__After completing the test flow:__
[check-http-response]
status: OK
description: Checks that the HTTP response status is within the 200 or 300 range
[verify-claims]
status: OK
description: Verifies that the UserInfo returned is consistent with what was asked for
__X:==== END ====__
Trace output
0.000324 ------------ DiscoveryRequest ------------
0.000337 Provider info discover from 'https://demo.c2id.com/c2id'
0.000343 --> URL: https://demo.c2id.com/c2id/.well-known/openid-configuration
0.368616 ProviderConfigurationResponse: {
"acr_values_supported": [
"0"
],
"authorization_endpoint": "https://demo.c2id.com/c2id-login-page-js",
"claim_types_supported": [
"normal"
],
"claims_parameter_supported": true,
"claims_supported": [
"sub",
"iss",
"auth_time",
"acr",
"name",
"given_name",
"family_name",
"nickname",
"email",
"email_verified"
],
"code_challenge_methods_supported": [
"S256",
"plain"
],
"display_values_supported": [
"page",
"popup"
],
"grant_types_supported": [
"implicit",
"authorization_code",
"refresh_token",
"password",
"client_credentials",
"urn:ietf:params:oauth:grant-type:jwt-bearer"
],
"id_token_encryption_alg_values_supported": [
"RSA1_5",
"RSA-OAEP",
"RSA-OAEP-256",
"ECDH-ES",
"ECDH-ES+A128KW",
"ECDH-ES+A192KW",
"ECDH-ES+A256KW",
"dir",
"A128KW",
"A192KW",
"A256KW",
"A128GCMKW",
"A192GCMKW",
"A256GCMKW"
],
"id_token_encryption_enc_values_supported": [
"A128CBC-HS256",
"A192CBC-HS384",
"A256CBC-HS512",
"A128GCM",
"A192GCM",
"A256GCM"
],
"id_token_signing_alg_values_supported": [
"RS256",
"RS384",
"RS512",
"PS256",
"PS384",
"PS512",
"ES256",
"ES384",
"ES512",
"HS256",
"HS384",
"HS512",
"none"
],
"introspection_endpoint": "https://demo.c2id.com/c2id/token/introspect",
"issuer": "https://demo.c2id.com/c2id",
"jwks_uri": "https://demo.c2id.com/c2id/jwks.json",
"registration_endpoint": "https://demo.c2id.com/c2id/clients",
"request_object_signing_alg_values_supported": [
"HS256",
"HS384",
"HS512",
"RS256",
"RS384",
"RS512",
"PS256",
"PS384",
"PS512",
"ES256",
"ES384",
"ES512",
"none"
],
"request_parameter_supported": true,
"request_uri_parameter_supported": false,
"request_uri_quota": 10,
"require_request_uri_registration": true,
"response_modes_supported": [
"query",
"fragment",
"form_post"
],
"response_types_supported": [
"code",
"id_token",
"id_token token",
"code id_token",
"code id_token token"
],
"revocation_endpoint": "https://demo.c2id.com/c2id/token/revoke",
"scopes_supported": [
"openid",
"profile",
"email",
"address",
"phone",
"offline_access"
],
"subject_types_supported": [
"public",
"pairwise"
],
"token_endpoint": "https://demo.c2id.com/c2id/token",
"token_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post",
"client_secret_jwt",
"private_key_jwt",
"none"
],
"token_endpoint_auth_signing_alg_values_supported": [
"RS256",
"RS384",
"RS512",
"HS256",
"HS384",
"HS512",
"PS256",
"PS384",
"PS512",
"ES256",
"ES384",
"ES512"
],
"ui_locales_supported": [
"en"
],
"userinfo_encryption_alg_values_supported": [
"RSA1_5",
"RSA-OAEP",
"RSA-OAEP-256",
"ECDH-ES",
"ECDH-ES+A128KW",
"ECDH-ES+A192KW",
"ECDH-ES+A256KW",
"dir",
"A128KW",
"A192KW",
"A256KW",
"A128GCMKW",
"A192GCMKW",
"A256GCMKW"
],
"userinfo_encryption_enc_values_supported": [
"A128CBC-HS256",
"A192CBC-HS384",
"A256CBC-HS512",
"A128GCM",
"A192GCM",
"A256GCM"
],
"userinfo_endpoint": "https://demo.c2id.com/c2id/userinfo",
"userinfo_signing_alg_values_supported": [
"RS256",
"RS384",
"RS512",
"PS256",
"PS384",
"PS512",
"ES256",
"ES384",
"ES512",
"HS256",
"HS384",
"HS512"
],
"version": "3.0"
}
0.733803 JWKS: {
"keys": [
{
"e": "AQAB",
"kid": "XPvp",
"kty": "RSA",
"n": "29nkxanYPgpux2gKI269pAuDmQ-FJVIzc5TDUjwRHkOWjBUxdTmwu9g_FCQWAG5_As6umczakynH5i6B-hLAoYCYNZThD9AqWRj-kKtqDhHPBz1WYruO17NBiJsP4pqmN9abffRmSVSTwKmt3yqkoWLwCobiofo4q-etX-QJO5_5c4vG-FNDp-zSjXfMshK92dllH35umnROp0qidi-TsbfSZasgeddLJPbRG80dVSoBBqViT5mUy8Cu5VPlSeXthjnVWKvNugeuHlOgnuR310Nalg9ocapMRZ3F90xVeld8Qtc7LrDZLsuVrHkb2RGFRJ42qUE4wiXEEusuAfdnjw",
"use": "sig"
},
{
"crv": "P-256",
"kid": "SEGI",
"kty": "EC",
"use": "sig",
"x": "IB0jEtk1kESc0YXr59l_H4dYF66pOu6GDtsGHutFpFo",
"y": "N8QW2dVl3hdncKkvEks8ITeRTwXkQFg3mf_b4kQxID0"
},
{
"crv": "P-384",
"kid": "BB4g",
"kty": "EC",
"use": "sig",
"x": "jKEG_F8_i1DgPWQ641JPNXtARk0_eqKT_U80bap2IGc91TEzKI8CQjO8MymC2LiY",
"y": "avSOVF8Wf-yxkJGFmY3POkdGMTXgECkbcL0Vv3Uc7Ro9ssu9XsRXRcfFtHKnLXeS"
},
{
"crv": "P-521",
"kid": "fbSW",
"kty": "EC",
"use": "sig",
"x": "AYXvNe1V25gOusorgp8AHAFUNaEkmONOpVtYSuvk2v3OIy8HgIYeg6CGjwFwlEFCXwm6zRe-Ckzb71ZHKTd2--Sz",
"y": "APanwCboxQuQxmEllq1dSgVUsV6v_xHWinjhovd06s_LiReXOoWEOQERjz3_UpLj45enfr08a37mTOAvgVdeL6fM"
},
{
"e": "AQAB",
"kid": "Slbc",
"kty": "RSA",
"n": "toMIuWFSAdAqHUMNatz3UYyVAh_gg6mj2ktqxDLzv840yh5V-3f2Jsyr4Vgzt1wRTl8TD8VsVjOe217siCBKevquo4M7WsEZLHMx0eM_gB1u5nGEwXsElReVTFc3KblFsdxjTR2lPwVEjL8iuLhb-JNWt9dZFGV_g8lTRqp4fEUjDnheLKLZMnxxBy6J4HGGgOye-Yl4WCaiSjw2py6Jvio9VE-x-yorJAjH66fMwvoslnPzLMuARy21NsKjCWvtW36tisF1o0JI7sXzS8I8iTnNCD_tGLx-aEkoo_JDdOfjU1PLeBKqOV-0ZPT309nQRXKAXA9dxUj7PQoL9c-9dw",
"use": "sig"
},
{
"crv": "P-256",
"kid": "s7ek",
"kty": "EC",
"use": "sig",
"x": "Rr4kh9uK3hO1g-orV7eVO8X0uPPQ_u4-eYPCEgQ1xa0",
"y": "ECq1fmVC7mU7F7c0CTN7MCwDpWdFcbJF2zTg6EZK8Kg"
},
{
"crv": "P-384",
"kid": "lauH",
"kty": "EC",
"use": "sig",
"x": "QyWDd8kJoqzsXEWiCkUAzg11ntg_x7KKWLdVOS-GDw5GgbfLkUJytK16tGLZWGUI",
"y": "P4HM7uknJ64Teg1vrhYKvS_nrZFyh5CZDjH67hFsFaI3bfdWiU8duK4oYaPjnU6n"
},
{
"crv": "P-521",
"kid": "96Oc",
"kty": "EC",
"use": "sig",
"x": "AOE3yNXWAiguNjBduYIbCKR3I3fNX_LUFH8IKaePjeTxouKLMu7JYQwEMaa11Zhka0kmuusfixvm24fDppKAOvO3",
"y": "AUtg3p6hVIL5RZj4I7FjbjZtRfAd-laDdPx-Fw6qG0s2MMFHu05X9bRYduPbFaz-YJj4Zsa7PzCRwZgqc_lP4LuE"
}
]
}
0.741067 ------------ RegistrationRequest ------------
0.741470 --> URL: https://demo.c2id.com/c2id/clients
0.741477 --> BODY: {"subject_type": "public", "jwks_uri": "https://op.certification.openid.net:60784/export/jwk_60784.json", "contacts": ["roland.hedberg@umu.se"], "application_type": "web", "grant_types": ["authorization_code"], "post_logout_redirect_uris": ["https://op.certification.openid.net:60784/logout"], "redirect_uris": ["https://op.certification.openid.net:60784/authz_cb"], "response_types": ["code"], "require_auth_time": true, "default_max_age": 3600}
0.741488 --> HEADERS: {'Content-Type': 'application/json'}
1.124881 <-- STATUS: 200
1.124935 <-- BODY: {"post_logout_redirect_uris":["https:\/\/op.certification.openid.net:60784\/logout"],"grant_types":["authorization_code"],"subject_type":"public","default_max_age":3600,"application_type":"web","registration_client_uri":"https:\/\/demo.c2id.com\/c2id\/clients\/raid2v3sx53fq","redirect_uris":["https:\/\/op.certification.openid.net:60784\/authz_cb"],"registration_access_token":"hGWW6nO99poaMwdrZVFa0m3ty9nAZubqm5ZbMFSca6c.YSxpLHI","token_endpoint_auth_method":"client_secret_basic","client_id":"raid2v3sx53fq","client_secret_expires_at":0,"require_auth_time":true,"client_id_issued_at":1481975207,"client_secret":"LecrMFtkyYHYMiEUalEEOJRP_oyTLjyhmK1nwJbNGN4","contacts":["roland.hedberg@umu.se"],"response_types":["code"],"id_token_signed_response_alg":"RS256"}
1.125839 RegistrationResponse: {
"application_type": "web",
"client_id": "raid2v3sx53fq",
"client_id_issued_at": 1481975207,
"client_secret": "LecrMFtkyYHYMiEUalEEOJRP_oyTLjyhmK1nwJbNGN4",
"client_secret_expires_at": 0,
"contacts": [
"roland.hedberg@umu.se"
],
"default_max_age": 3600,
"grant_types": [
"authorization_code"
],
"id_token_signed_response_alg": "RS256",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:60784/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:60784/authz_cb"
],
"registration_access_token": "hGWW6nO99poaMwdrZVFa0m3ty9nAZubqm5ZbMFSca6c.YSxpLHI",
"registration_client_uri": "https://demo.c2id.com/c2id/clients/raid2v3sx53fq",
"require_auth_time": true,
"response_types": [
"code"
],
"subject_type": "public",
"token_endpoint_auth_method": "client_secret_basic"
}
1.133884 ------------ AuthorizationRequest ------------
1.134603 --> URL: https://demo.c2id.com/c2id-login-page-js?state=lalaiRaYwjOFncPr&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60784%2Fauthz_cb&response_type=code&client_id=raid2v3sx53fq&claims=%7B%22id_token%22%3A+%7B%22email%22%3A+%7B%22essential%22%3A+true%7D%7D%2C+%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&scope=openid
1.134613 --> BODY: None
4.238910 <-- code=vjBZYfGuDrbkgynoOmQ2Qw.BHsdErtDuB3LEpglTZ2iRg&state=lalaiRaYwjOFncPr
4.239339 AuthorizationResponse: {
"code": "vjBZYfGuDrbkgynoOmQ2Qw.BHsdErtDuB3LEpglTZ2iRg",
"state": "lalaiRaYwjOFncPr"
}
4.239708 ------------ AccessTokenRequest ------------
4.240114 --> URL: https://demo.c2id.com/c2id/token
4.240121 --> BODY: code=vjBZYfGuDrbkgynoOmQ2Qw.BHsdErtDuB3LEpglTZ2iRg&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60784%2Fauthz_cb
4.240133 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': u'Basic cmFpZDJ2M3N4NTNmcTpMZWNyTUZ0a3lZSFlNaUVVYWxFRU9KUlBfb3lUTG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bCI6ImFsaWNlQHdvbmRlcmxhbmQubmV0In0.uXxne1SrQedBPSAwxM13XZrPzop-gmn5QF2D9npzdiz6UeKdCgXGSDvCJAmnSPHWy8tKIGvb4KCR_951AjlLspYslPw3Ue25A0xl4iPd6r8DrYzq9EJ-r1wFurJWlgi0dzo8ZSD1cp7s9m2TGnOvIa9GhGyTps-GbmWIIRQN3qeNgnVOVAnJjtrQZO6hiCr6mcAH9qo1nZIZYcaYPEPMRtXlYprp8D5xNbOWy29R7Ak7SxEdt_LKjzt-8YAWfnEGeBTyI5I_YCpSxIyNW_QoYHFzpKhrWu0GpTgES-sUJSFpl7x_bKaCZBw_51aTop6rxX-o_bifB3uuwdyvT_fF5g","token_type":"Bearer","expires_in":600}
5.005266 AccessTokenResponse: {
"access_token": "eyJraWQiOiJYUHZwIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhbGljZSIsInNjcCI6WyJvcGVuaWQiXSwiY2xtIjpbIiFJQSJdLCJpc3MiOiJodHRwczpcL1wvZGVtby5jMmlkLmNvbVwvYzJpZCIsImV4cCI6MTQ4MTk3NTgxMCwiaWF0IjoxNDgxOTc1MjEwLCJ1aXAiOnt9LCJjaWQiOiJyYWlkMnYzc3g1M2ZxIn0.LA3z2mVxHMV9fVJDVEt-DZiepP1sTZM9eNbTFtT0lwcwDSI59OkP61V5HBLZuXO36XuWnRw-hMmxJi8gWtiU9HYfZeM40I_5c9qhzprQiUL9TC-ZI-XZaS-UNJ81maRO8S-tWJIHHe8usUTwty7qq5emcujPzYqi-aQkPiat3f3cMOsdojLHDFDFCjFpwmtZrDdIczXJujfUJjUYZTVMZA2lvjY-zMu0tGl18WvCtrVA3W0FRJo7Jw-nKyVwhTieohKQHi-CbVkuUCvUwNvrXTwFY0vDpKVrS4xIy8pq2wTLBbs1X4joL2SEntyvas7V19IK9eiOzMo5MgJzgRdgZQ",
"expires_in": 600,
"id_token": {
"claims": {
"acr": "http://loa.c2id.com/basic",
"amr": [
"pwd"
],
"aud": [
"raid2v3sx53fq"
],
"auth_time": 1481971778,
"browser": "Netscape",
"email": "alice@wonderland.net",
"exp": 1481975810,
"iat": 1481975210,
"iss": "https://demo.c2id.com/c2id",
"login_ip": "10.20.30.40",
"sub": "alice"
},
"jws header parameters": {
"alg": "RS256",
"kid": "XPvp"
}
},
"refresh_token": "YWxpY2U.cmFpZDJ2M3N4NTNmcQ.905vVJcDAL6ErTaJM6mfCQ",
"scope": "openid",
"token_type": "Bearer"
}
5.013165 ------------ UserInfoRequest ------------
5.013453 --> URL: https://demo.c2id.com/c2id/userinfo
5.013461 --> BODY: None
5.013476 --> HEADERS: {'Authorization': u'Bearer eyJraWQiOiJYUHZwIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhbGljZSIsInNjcCI6WyJvcGVuaWQiXSwiY2xtIjpbIiFJQSJdLCJpc3MiOiJodHRwczpcL1wvZGVtby5jMmlkLmNvbVwvYzJpZCIsImV4cCI6MTQ4MTk3NTgxMCwiaWF0IjoxNDgxOTc1MjEwLCJ1aXAiOnt9LCJjaWQiOiJyYWlkMnYzc3g1M2ZxIn0.LA3z2mVxHMV9fVJDVEt-DZiepP1sTZM9eNbTFtT0lwcwDSI59OkP61V5HBLZuXO36XuWnRw-hMmxJi8gWtiU9HYfZeM40I_5c9qhzprQiUL9TC-ZI-XZaS-UNJ81maRO8S-tWJIHHe8usUTwty7qq5emcujPzYqi-aQkPiat3f3cMOsdojLHDFDFCjFpwmtZrDdIczXJujfUJjUYZTVMZA2lvjY-zMu0tGl18WvCtrVA3W0FRJo7Jw-nKyVwhTieohKQHi-CbVkuUCvUwNvrXTwFY0vDpKVrS4xIy8pq2wTLBbs1X4joL2SEntyvas7V19IK9eiOzMo5MgJzgRdgZQ'}
5.390774 <-- STATUS: 200
5.390878 Available verification keys: [(u'XPvp', u'RSA'), (u'SEGI', u'EC'), (u'BB4g', u'EC'), (u'fbSW', u'EC'), (u'Slbc', u'RSA'), (u's7ek', u'EC'), (u'lauH', u'EC'), (u'96Oc', u'EC')]
5.390916 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
5.390946 <-- BODY: {"name":"Alice Adams","sub":"alice"}
5.391824 UserInfo: {
"name": "Alice Adams",
"sub": "alice"
}
5.399025 ==== END ====
Result
PASSED