Test info
Profile: {'openid-configuration': 'config', 'extras': True, 'response_type': 'code', 'crypto': 'encrypt+sign', 'registration': 'dynamic'}
Timestamp: 2016-12-17T11:43:55Z
Test description: Registration of wish for public sub [Extra]
Test ID: OP-Registration-Sub-Public
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\/rn6ugzk4ocrh2","redirect_uris":["https:\/\/op.certification.openid.net:60784\/authz_cb"],"registration_access_token":"lJEW7wbZUOTzo5PS1xZEnSWAVbc5Kd4FdUBo5TlRoA0.YSxpLHI","token_endpoint_auth_method":"client_secret_basic","client_id":"rn6ugzk4ocrh2","client_secret_expires_at":0,"require_auth_time":true,"client_id_issued_at":1481975032,"client_secret":"bwxBZekzNV2A71pQR7S9an6U8WawM56ip827KGAz8Rs","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:__
[verify-response]
status: OK
description: Checks that the last response was one of a possible set of OpenID Connect Responses
__X:==== END ====__
Trace output
0.000332 ------------ DiscoveryRequest ------------
0.000345 Provider info discover from 'https://demo.c2id.com/c2id'
0.000352 --> URL: https://demo.c2id.com/c2id/.well-known/openid-configuration
0.366686 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.732619 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.741879 ------------ RegistrationRequest ------------
0.742346 --> URL: https://demo.c2id.com/c2id/clients
0.742354 --> 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.742366 --> HEADERS: {'Content-Type': 'application/json'}
1.128295 <-- STATUS: 200
1.128361 <-- 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\/rn6ugzk4ocrh2","redirect_uris":["https:\/\/op.certification.openid.net:60784\/authz_cb"],"registration_access_token":"lJEW7wbZUOTzo5PS1xZEnSWAVbc5Kd4FdUBo5TlRoA0.YSxpLHI","token_endpoint_auth_method":"client_secret_basic","client_id":"rn6ugzk4ocrh2","client_secret_expires_at":0,"require_auth_time":true,"client_id_issued_at":1481975032,"client_secret":"bwxBZekzNV2A71pQR7S9an6U8WawM56ip827KGAz8Rs","contacts":["roland.hedberg@umu.se"],"response_types":["code"],"id_token_signed_response_alg":"RS256"}
1.129233 RegistrationResponse: {
"application_type": "web",
"client_id": "rn6ugzk4ocrh2",
"client_id_issued_at": 1481975032,
"client_secret": "bwxBZekzNV2A71pQR7S9an6U8WawM56ip827KGAz8Rs",
"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": "lJEW7wbZUOTzo5PS1xZEnSWAVbc5Kd4FdUBo5TlRoA0.YSxpLHI",
"registration_client_uri": "https://demo.c2id.com/c2id/clients/rn6ugzk4ocrh2",
"require_auth_time": true,
"response_types": [
"code"
],
"subject_type": "public",
"token_endpoint_auth_method": "client_secret_basic"
}
1.135110 ------------ AuthorizationRequest ------------
1.135499 --> URL: https://demo.c2id.com/c2id-login-page-js?scope=openid&state=zgvRXJi74ORgXVEE&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60784%2Fauthz_cb&response_type=code&client_id=rn6ugzk4ocrh2
1.135507 --> BODY: None
2.790948 <-- code=2ROirmx6PerQJfti9sOQWQ.aQNVfspgojhQ3ukTA2NpbA&state=zgvRXJi74ORgXVEE
2.791378 AuthorizationResponse: {
"code": "2ROirmx6PerQJfti9sOQWQ.aQNVfspgojhQ3ukTA2NpbA",
"state": "zgvRXJi74ORgXVEE"
}
2.791741 ------------ AccessTokenRequest ------------
2.792137 --> URL: https://demo.c2id.com/c2id/token
2.792145 --> BODY: code=2ROirmx6PerQJfti9sOQWQ.aQNVfspgojhQ3ukTA2NpbA&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60784%2Fauthz_cb
2.792156 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': u'Basic cm42dWd6azRvY3JoMjpid3hCWmVrek5WMkE3MXBRUjdTOWFuNlU4V2F3TTU2aXA4MjdLR0F6OFJz'}
3.188281 <-- STATUS: 200
3.188356 <-- BODY: {"access_token":"eyJraWQiOiJYUHZwIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhbGljZSIsInNjcCI6WyJvcGVuaWQiXSwiaX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5xNDDMp2f-48R3GLdJkWN3WyfP3qSImfGw6WD1PUAYcnNYuNzHdga0c74b1AMF8XrBRwEhdY5YZV9CbXbg1TM0koGP3I47VcVKqQhMSavblvgmlmwmZe8rP8bKKUONewo-5l3CLeciycPuB7LJVGUPVwweqVXAHSb23_w","token_type":"Bearer","expires_in":600}
3.576022 AccessTokenResponse: {
"access_token": "eyJraWQiOiJYUHZwIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJhbGljZSIsInNjcCI6WyJvcGVuaWQiXSwiaXNzIjoiaHR0cHM6XC9cL2RlbW8uYzJpZC5jb21cL2MyaWQiLCJleHAiOjE0ODE5NzU2MzQsImlhdCI6MTQ4MTk3NTAzNCwidWlwIjp7fSwiY2lkIjoicm42dWd6azRvY3JoMiJ9.U-GrmDUnN-hzoG4cOV15ovG5Xi2SUBMprXaWMd-1nGWm1FLz_Doejfrh_dx55ARyv1zcIdYmS_iW3nCQjDr_y7WhtTdUB-998xjbMC6NSry9D9vO79dUSuUUqBroHwHD1QXNCv7IPjzb-FRdNZI5rUFojH_rHUHmdzMoeGHZ35bOBu4lj1-wn_emzCfTAB4GECvVwZopD6eMNtWol2umXMy3dma6JXNWxOHCxD4_D5c5PR4XYxAeZEkyoCtznnfJprtXCNLBCVlqy1cDziQTnjuM7A8YaJeYvpiSufDC-FHy0AW9eST0a_OtR9qBO2fKE7EVGpd06Muoh75J5sfihw",
"expires_in": 600,
"id_token": {
"claims": {
"acr": "http://loa.c2id.com/basic",
"amr": [
"pwd"
],
"aud": [
"rn6ugzk4ocrh2"
],
"auth_time": 1481971778,
"browser": "Netscape",
"exp": 1481975634,
"iat": 1481975034,
"iss": "https://demo.c2id.com/c2id",
"login_ip": "10.20.30.40",
"sub": "alice"
},
"jws header parameters": {
"alg": "RS256",
"kid": "XPvp"
}
},
"refresh_token": "YWxpY2U.cm42dWd6azRvY3JoMg.VPdXCL-QI69fxvh17wNQ5w",
"scope": "openid",
"token_type": "Bearer"
}
3.581685 ==== END ====
Result
PASSED