Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-Registration-jwks_uri
Test descriptionUses keys registered with jwks_uri value
Timestamp2019-06-17T07:14:22Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0provider_config
kwargs:{'issuer': 'https://isamfed.com:30443/test'}
0http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
0ProviderConfigurationResponse
{
    "authorization_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize",
    "claims_parameter_supported": false,
    "claims_supported": [
        "realmName",
        "preferred_username",
        "given_name",
        "uid",
        "upn",
        "groupIds",
        "employee_id",
        "name",
        "tenantId",
        "mobile_number",
        "department",
        "job_title",
        "family_name",
        "email"
    ],
    "device_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/device_authorize",
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:jwt-bearer",
        "implicit",
        "urn:ietf:params:oauth:grant-type:saml2-bearer",
        "urn:ietf:params:oauth:grant-type:device_code",
        "client_credentials",
        "password",
        "authorization_code",
        "refresh_token"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "introspect_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/introspect",
    "issuer": "https://isamfed.com:30443/test",
    "jwks_uri": "https://isamfed.com:30443/mga/sps/jwks",
    "name": "OIDCDefinition",
    "poc": "https://isamfed.com:30443/mga/",
    "registration_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition",
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "response_modes_supported": [
        "fragment",
        "form_post"
    ],
    "response_types_supported": [
        "token",
        "id_token",
        "token id_token",
        "code",
        "code id_token",
        "code token id_token",
        "code token",
        "none"
    ],
    "revocation_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/revoke",
    "subject_types_supported": [
        "public"
    ],
    "token_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/token",
    "token_endpoint_auth_methods_supported": [
        "private_key_jwt",
        "client_secret_post",
        "client_secret_basic"
    ],
    "user_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/user_authorize",
    "userinfo_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo",
    "userinfo_signing_alg_values_supported": [
        "RS256"
    ],
    "version": "3.0"
}
0phase<--<-- 2 --- Registration -->-->
0register
kwargs:{'response_types': ['code id_token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61365/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61365/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61365/static/jwks_61365.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61365/static/jwks_61365.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61365/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61365/authz_cb"
    ],
    "response_types": [
        "code id_token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "XPZqgXrHf1tF7ySl2989",
    "client_id_issued_at": 1560755659,
    "client_secret": "lNnkSFpTafBkDIdlXU70",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61365/static/jwks_61365.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61365/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61365/authz_cb"
    ],
    "registration_access_token": "ACzZgxPVyfPdmymNEqmT",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=XPZqgXrHf1tF7ySl2989",
    "response_types": [
        "code",
        "id_token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "XPZqgXrHf1tF7ySl2989",
    "nonce": "AonlpCPQE4OCr1yP",
    "redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "KAqZcSSLTO4icYc8"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=KAqZcSSLTO4icYc8&nonce=AonlpCPQE4OCr1yP&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=XPZqgXrHf1tF7ySl2989
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=KAqZcSSLTO4icYc8&nonce=AonlpCPQE4OCr1yP&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=XPZqgXrHf1tF7ySl2989
1http args{}
2responseURL with fragment
2responseid_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IkFvbmxwQ1BRRTRPQ3IxeVAiLCJpYXQiOjE1NjA3NTU2NjAsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzU5MDgwLCJjX2hhc2giOiJESU1DbHNI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77xzdWAyH10v1A9xAWG8RdERCE8Mde9klkQ7ygme6mptkExmkis9eNE1SdIWKHpywSSTstBY2Xhzg', 'state': 'KAqZcSSLTO4icYc8', 'code': 'XmMmJsqmXZrAU53HRp24ahlXCj5LZH'}
2AuthorizationResponse
{
    "code": "XmMmJsqmXZrAU53HRp24ahlXCj5LZH",
    "id_token": {
        "aud": [
            "XPZqgXrHf1tF7ySl2989"
        ],
        "c_hash": "DIMClsHCzJGOZVEZ2m46_g",
        "exp": 1560759080,
        "iat": 1560755660,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "AonlpCPQE4OCr1yP",
        "sub": "testuser"
    },
    "state": "KAqZcSSLTO4icYc8"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'KAqZcSSLTO4icYc8', 'authn_method': 'private_key_jwt'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb', 'code': 'XmMmJsqmXZrAU53HRp24ahlXCj5LZH', 'state': 'KAqZcSSLTO4icYc8', 'grant_type': 'authorization_code', 'client_id': 'XPZqgXrHf1tF7ySl2989'}, 'state': 'KAqZcSSLTO4icYc8', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiWFBacWdYckhmMXRGN3lTbDI5ODkiLCAic3ViIjogIlhQWnFnWHJIZjF0Rjd5U2wyOTg5IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICIxZHM5VHU1VE9SQk44dWttM1liZVFjb3JBUVI4bE41NCIsICJleHAiOiAxNTYwNzU2MjYxLCAiaWF0IjogMTU2MDc1NTY2MX0.hAzXei1JKsfdnwc5phuZT3O6E_luBPlTIalwaPvGX9uFb80J2NEoMkE-4bxbZCgIvrfpYvbfANghNPcuOvmpjmDWFo-ZYHtdJvdeLA1WhI8QubqDWRQ6GPq6Mah4FJ_bsNVz3xYgu5JfmugjW1tsIx9gqjj2nEIf0rVx3uR2JNkCKSH9MrMcwwsT79yysreCgPKL3Y-0S_GWz91PNHQ7k6HLTJ4N58L2WYqY8ThvLB-e4xotrtzqHGo6LsbOy5w0siGdgRD0RQTbzobKYQy91RE2vM6Qx-zCegqIANvOTDJPH-a9ZllMTmaV-9qC6rwy87WwpqiKQumETivTAkj7_w",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "XmMmJsqmXZrAU53HRp24ahlXCj5LZH",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
    "state": "KAqZcSSLTO4icYc8"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&code=XmMmJsqmXZrAU53HRp24ahlXCj5LZH&state=KAqZcSSLTO4icYc8&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiWFBacWdYckhmMXRGN3lTbDI5ODkiLCAic3ViIjogIlhQWnFnWHJIZjF0Rjd5U2wyOTg5IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICIxZHM5VHU1VE9SQk44dWttM1liZVFjb3JBUVI4bE41NCIsICJleHAiOiAxNTYwNzU2MjYxLCAiaWF0IjogMTU2MDc1NTY2MX0.hAzXei1JKsfdnwc5phuZT3O6E_luBPlTIalwaPvGX9uFb80J2NEoMkE-4bxbZCgIvrfpYvbfANghNPcuOvmpjmDWFo-ZYHtdJvdeLA1WhI8QubqDWRQ6GPq6Mah4FJ_bsNVz3xYgu5JfmugjW1tsIx9gqjj2nEIf0rVx3uR2JNkCKSH9MrMcwwsT79yysreCgPKL3Y-0S_GWz91PNHQ7k6HLTJ4N58L2WYqY8ThvLB-e4xotrtzqHGo6LsbOy5w0siGdgRD0RQTbzobKYQy91RE2vM6Qx-zCegqIANvOTDJPH-a9ZllMTmaV-9qC6rwy87WwpqiKQumETivTAkj7_w&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'sN5R1YKVNY36bD1QS1RS', 'refresh_token': 'PaV1T7LuYd2qkOHeAoghs8n9NjWg47eiIGyvel5k', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiQXVhZ1U5cnQzSXNiTklsVE9xdU4zUSIsIm5vbmNlIjoiQW9ubHBDUFFFNE9DcjF5UCIsImlhdCI6MTU2MDc1NTY2MSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IjEzU25aNWtzeUZLSmlvdVZWeWo3bWciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1OTA4MSwiYXVkIjoiWFBacWdYckhmMXRGN3lTbDI5ODkifQ.naNl-pjnQk-yXrs4Jq_zcOeib_nAzXU6hNKZCHfouRnO2vV8NAhPIPMxfSNdNmEnt4NyphhFs0tHY1lftnUAwP0luVB-2qh7ZApAL8rf53q7Dm_0oSimHulcKh9iEKFuRy7PdX6CJvVOyLI2Ti-vQkdI9Zx5j8bsI_zklAr6VqApRmLPARPZw5r_ZSoX15PNFucs0Pc8Qeplm-nzcICpc_uVthplMRVCh0MqeM4Yes4txPE_ngClVDUKMawkStsff6slNxiPSvVVY9DFEeDNFoZb0AcCocUpawf04jf_zemBsJDNhd9PaLij1kmVU-ptYhd2-htIjY0F7kLuG5pnpg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "sN5R1YKVNY36bD1QS1RS",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "13SnZ5ksyFKJiouVVyj7mg",
        "aud": [
            "XPZqgXrHf1tF7ySl2989"
        ],
        "exp": 1560759081,
        "iat": 1560755661,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "AonlpCPQE4OCr1yP",
        "rt_hash": "AuagU9rt3IsbNIlTOquN3Q",
        "sub": "testuser"
    },
    "refresh_token": "PaV1T7LuYd2qkOHeAoghs8n9NjWg47eiIGyvel5k",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 5 --- Done -->-->
3end
3assertionVerifyResponse
3conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3conditionDone: status=OK

Result

PASSED