Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-Registration-jwks_uri
Test descriptionUses keys registered with jwks_uri value
Timestamp2019-06-17T06:38: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'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61164/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61164/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61164/static/jwks_61164.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61164/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61164/authz_cb"
    ],
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "5HsqgYtycq4l0yvXRwAQ",
    "client_id_issued_at": 1560753500,
    "client_secret": "ebdElwzNiR2x6WyyjLHX",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61164/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61164/authz_cb"
    ],
    "registration_access_token": "jiKIwViTheqimM5pckMM",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=5HsqgYtycq4l0yvXRwAQ",
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "5HsqgYtycq4l0yvXRwAQ",
    "nonce": "9hlxMnk5cmKhdpE7",
    "redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "VjMwnvuNK8hVIGMi"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=VjMwnvuNK8hVIGMi&nonce=9hlxMnk5cmKhdpE7&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=5HsqgYtycq4l0yvXRwAQ
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=VjMwnvuNK8hVIGMi&nonce=9hlxMnk5cmKhdpE7&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=5HsqgYtycq4l0yvXRwAQ
1responseResponse URL with query part
1response{'state': 'VjMwnvuNK8hVIGMi', 'code': 'Az62GD4eh70hWKATl9MQcgdac23LJu'}
1response{'state': 'VjMwnvuNK8hVIGMi', 'code': 'Az62GD4eh70hWKATl9MQcgdac23LJu'}
1AuthorizationResponse
{
    "code": "Az62GD4eh70hWKATl9MQcgdac23LJu",
    "state": "VjMwnvuNK8hVIGMi"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'VjMwnvuNK8hVIGMi', 'authn_method': 'private_key_jwt'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb', 'code': 'Az62GD4eh70hWKATl9MQcgdac23LJu', 'state': 'VjMwnvuNK8hVIGMi', 'grant_type': 'authorization_code', 'client_id': '5HsqgYtycq4l0yvXRwAQ'}, 'state': 'VjMwnvuNK8hVIGMi', 'authn_method': 'private_key_jwt'}
1AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiNUhzcWdZdHljcTRsMHl2WFJ3QVEiLCAic3ViIjogIjVIc3FnWXR5Y3E0bDB5dlhSd0FRIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJCdFpuN0V6S1RYcUw2aG9oRDNJUHJ0THlUNTB3Q29IbyIsICJleHAiOiAxNTYwNzU0MTAxLCAiaWF0IjogMTU2MDc1MzUwMX0.hZXJ_nPaodCZFxy7VtwP45j9I8NJB0jM4xa419zT-lREIGQPjS2lSaYiepoInsm3S1CfMau1JqOH0ZF4lB1zNqzYygD2N5Q9dRqligil7VsYvMzD03oNorAFOOWI5phXRRrOEvGdJsOOycXp12LgmlPRbidHCgy26eBQFcna6lKrLd-LBvzkQg1vDC0UqLtWCS8ngFwqte0CINTIa2HHKI5Ft_JWkGi4Qq24tnokpB9mSsjQoHf-BlWdbbvuRPYwpnmRKy38y2kI7dmj-tND_-OwabxY_6pGdYsEL-m1WNX8GdUsNeVjMtfXrYK6yQRnQZqhZE0sPgG3e_LZVkYg3w",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "Az62GD4eh70hWKATl9MQcgdac23LJu",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
    "state": "VjMwnvuNK8hVIGMi"
}
1request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
1request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&code=Az62GD4eh70hWKATl9MQcgdac23LJu&state=VjMwnvuNK8hVIGMi&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiNUhzcWdZdHljcTRsMHl2WFJ3QVEiLCAic3ViIjogIjVIc3FnWXR5Y3E0bDB5dlhSd0FRIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJCdFpuN0V6S1RYcUw2aG9oRDNJUHJ0THlUNTB3Q29IbyIsICJleHAiOiAxNTYwNzU0MTAxLCAiaWF0IjogMTU2MDc1MzUwMX0.hZXJ_nPaodCZFxy7VtwP45j9I8NJB0jM4xa419zT-lREIGQPjS2lSaYiepoInsm3S1CfMau1JqOH0ZF4lB1zNqzYygD2N5Q9dRqligil7VsYvMzD03oNorAFOOWI5phXRRrOEvGdJsOOycXp12LgmlPRbidHCgy26eBQFcna6lKrLd-LBvzkQg1vDC0UqLtWCS8ngFwqte0CINTIa2HHKI5Ft_JWkGi4Qq24tnokpB9mSsjQoHf-BlWdbbvuRPYwpnmRKy38y2kI7dmj-tND_-OwabxY_6pGdYsEL-m1WNX8GdUsNeVjMtfXrYK6yQRnQZqhZE0sPgG3e_LZVkYg3w&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': '2F5tDGUnx6Um5aZbgJ6U', 'refresh_token': 'iMKOAnQn2HZZ1IGGn78znSHRa9NpZ8BjmJtrZSZw', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiNVBoV3NuaV9RNkk3c01iQ3ZHcUQ2ZyIsIm5vbmNlIjoiOWhseE1uazVjbUtoZHBFNyIsImlhdCI6MTU2MDc1MzUwMiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6ImhDTmxoZFl0bXRyUF9xb0xvMm9VZEEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1NjkyMiwiYXVkIjoiNUhzcWdZdHljcTRsMHl2WFJ3QVEifQ.M1aMYDHeag8oOKGgjJoBNTjnvT-dWa0znG-QW60fSrv0GASCfeVt3989zlAk0XO8RnW6jwjIlsAbOuFyDvsjDPwAVfZqV12Y5zl1MOG-wWjLlcciHcvUfDn1JxfOBKTxtOveF_SjBAwbkzkCmW3yES0Q-Zks8SUIcCnCXrZQmnMJPdA4R_cdcs_emEy6PVvNW76SpJUZr-cx6hBnTLm1yGr2LbqZQYVpyBBkXWLYJZkccn9IVA5J1q9pdZHsVUbl79By-be8X8f8zyfPjRqMP2qx4b1l3LMAroNmWUvGIskvFeJbuwcHerv63hbIvdNdprcJwlTmOtfDo5MsrI-oLA', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "2F5tDGUnx6Um5aZbgJ6U",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "hCNlhdYtmtrP_qoLo2oUdA",
        "aud": [
            "5HsqgYtycq4l0yvXRwAQ"
        ],
        "exp": 1560756922,
        "iat": 1560753502,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "9hlxMnk5cmKhdpE7",
        "rt_hash": "5PhWsni_Q6I7sMbCvGqD6g",
        "sub": "testuser"
    },
    "refresh_token": "iMKOAnQn2HZZ1IGGn78znSHRa9NpZ8BjmJtrZSZw",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2phase<--<-- 5 --- Done -->-->
2end
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2conditionDone: status=OK

Result

PASSED