Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-UserInfo-RS256
Test descriptionRP registers userinfo_signed_response_alg to signal that it wants signed UserInfo returned
Timestamp2019-06-17T15:43:33Z

Conditions


asym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key]
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_encryption_alg_values_supported": [
        "RSA-OAEP-256"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC-HS256"
    ],
    "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:61583/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61583/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61583/static/jwks_61583.json', 'token_endpoint_auth_method': 'private_key_jwt', 'userinfo_signed_response_alg': 'RS256'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61583/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61583/authz_cb"
    ],
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "BPmUlRu7KzutLsYlxuAZ",
    "client_id_issued_at": 1560786210,
    "client_secret": "YpIGeBWUyF7TSfBN8rwG",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61583/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61583/authz_cb"
    ],
    "registration_access_token": "Cbp9uQDFJ7g95IAmqY7G",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=BPmUlRu7KzutLsYlxuAZ",
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "BPmUlRu7KzutLsYlxuAZ",
    "nonce": "3i8e2OpvvnyoaA3X",
    "redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "Pz7hlOSvhlJSOW4O"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Pz7hlOSvhlJSOW4O&nonce=3i8e2OpvvnyoaA3X&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=BPmUlRu7KzutLsYlxuAZ
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Pz7hlOSvhlJSOW4O&nonce=3i8e2OpvvnyoaA3X&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=BPmUlRu7KzutLsYlxuAZ
1responseResponse URL with query part
1response{'state': 'Pz7hlOSvhlJSOW4O', 'code': 'eE0bKwioLXDUlWzBGCWIGRbJtttqy2'}
1response{'state': 'Pz7hlOSvhlJSOW4O', 'code': 'eE0bKwioLXDUlWzBGCWIGRbJtttqy2'}
1AuthorizationResponse
{
    "code": "eE0bKwioLXDUlWzBGCWIGRbJtttqy2",
    "state": "Pz7hlOSvhlJSOW4O"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'Pz7hlOSvhlJSOW4O'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb', 'code': 'eE0bKwioLXDUlWzBGCWIGRbJtttqy2', 'state': 'Pz7hlOSvhlJSOW4O', 'grant_type': 'authorization_code', 'client_id': 'BPmUlRu7KzutLsYlxuAZ'}, 'state': 'Pz7hlOSvhlJSOW4O', 'authn_method': 'private_key_jwt'}
1AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiQlBtVWxSdTdLenV0THNZbHh1QVoiLCAic3ViIjogIkJQbVVsUnU3S3p1dExzWWx4dUFaIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJoT0pOeG5ZTzJ0d29OM29FTmU0ZHVabmI0ZnJheEFIVSIsICJleHAiOiAxNTYwNzg2ODExLCAiaWF0IjogMTU2MDc4NjIxMX0.JVSL7_frKOaGq6jNeeveD6DdYgqmVgQ2RjrnrlACkAJ--geSlEfb5e7v3hDDioYaBJIC6uoSeLdTXjgjqKJnLTrQPeDB02DlCjHSSiIxq16HE9HmYcHigwz4El8TZj3exJBnPkFt69HgZbMU4w_vKkZLNbs2Lbp04c84ntr3DMpxrWEsY6vbVpXbkONGnWMdVuXNwQ6LLl4izVRFiIMid7Krg_keM8Jzjrx44q_-MDNhqLuvDdUvaQusy1QLYP220s0x2yulSrUzed38cjcmtrDBtjx0P5M0gwblhBJVBm86sGtSnirqJSlFAvcadC844fm9HgW6uIZvQA04zPcYWg",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "eE0bKwioLXDUlWzBGCWIGRbJtttqy2",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
    "state": "Pz7hlOSvhlJSOW4O"
}
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%3A61583%2Fauthz_cb&code=eE0bKwioLXDUlWzBGCWIGRbJtttqy2&state=Pz7hlOSvhlJSOW4O&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiQlBtVWxSdTdLenV0THNZbHh1QVoiLCAic3ViIjogIkJQbVVsUnU3S3p1dExzWWx4dUFaIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJoT0pOeG5ZTzJ0d29OM29FTmU0ZHVabmI0ZnJheEFIVSIsICJleHAiOiAxNTYwNzg2ODExLCAiaWF0IjogMTU2MDc4NjIxMX0.JVSL7_frKOaGq6jNeeveD6DdYgqmVgQ2RjrnrlACkAJ--geSlEfb5e7v3hDDioYaBJIC6uoSeLdTXjgjqKJnLTrQPeDB02DlCjHSSiIxq16HE9HmYcHigwz4El8TZj3exJBnPkFt69HgZbMU4w_vKkZLNbs2Lbp04c84ntr3DMpxrWEsY6vbVpXbkONGnWMdVuXNwQ6LLl4izVRFiIMid7Krg_keM8Jzjrx44q_-MDNhqLuvDdUvaQusy1QLYP220s0x2yulSrUzed38cjcmtrDBtjx0P5M0gwblhBJVBm86sGtSnirqJSlFAvcadC844fm9HgW6uIZvQA04zPcYWg&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': 'Ul2FH1zpmfbXLw8AJjPz', 'refresh_token': 'xtjq8HhmvRNqTJeQY2wG28TsPKBddGRA3aOfXMcy', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.PY7op88NrCwdBJOLtu-_QcIx4H7lsPIhAE27D2Qf3nJI73tPWtn8NonyhEGn09sUv1ATlihIzT1ZsZZL46zABu-Et9ivQXzKcUw3WgocflPy_9buVeb23oBYkATmmXyCmU0HZ2F6hgQ2AWWhNtSuM8XyoGLIRqlQGwMzjIiasdfKw4kF98FPhvHo_zpacfsGLSMqQcAZ9DQmOAU1u-PJwxsod_4ECvuq00cHnvYVyZSv3Z7XsczYIDRooa70cUj0gFW0Gb3If5hjzI4n3cJqD0FFQdlDMWDH4G5hPDJ_k2cfVn762ymZIrHIMnztGO2-NptICna4pyv7iWvu3fANbQ.tNQ2Ts8qaBniu3_g1zz7fQ.M7JL6t9l8iyuZ0kVRi35GG_wRP43NMbx0iPP9RUvJGYuf6Jt2ViuEz4_GOUBypUeegOW5x_XnTnty_pJJVoTuDXbk2IuMCeIQUvTUYUXn6P7Pvp05pQUGy39X6hWBcxrGGSKEHBypnprVdw1FBazHruMzWFla2QtJJlzdieh-yd-ZYqhngfCc5ARg_Sx3xGQ8z0BqFr27LMTltNNa3oK3pstLEG5owwR3c--Vc9KjPS6hJXLWq_zvI8ZI1F9osiRTE6tS_OrcMaB9Mz_SDJVd0rvXy1qWsdOVJPJroe2fhmyor5nc5ux5ckyfkdj8_Ws_2TE2_1ZEtt47A_PSMSqfhKPovMjgmxEn9-S2ddlm5I5v0fuhoazlsnxn8tApGsFuly0Qm5Qo66M5hFUEA7-6-e1UzUSSymIu6hKrD5SlThe0Qt6rtC942mPRPQLMG5FKAkoTQ8MSIP65XUtLG3Eiry_BRE6-XVyBVQyGBZdtZFuuBpc3sC5kmWTNEG2txr9Fl3YalT43zlIePZuKNzfj-VtA-uXJ6I5vnpFCoP43bDcfzMA92JhjdUZljvgSeqguLofY8wncGxv3V8EcfbTBqc9l3GQde5S6_ayY8OqlV1PORm2A3uze7BiE2M8LWLyu_-1b38ExkfzA4ccjSC9FiwvPSHkp0XatS4agTLUCWHDO5zZiEPGbDcXfyuICxeeEiS0TmBr-NxwNXMKRaWvBdYs-9-QvnBshaPu0mmMz1idO-xePgW5ow3zzjirt_gAUJa2mF3gWq-wxgLGAeuNqITn2SWYw4LX_SKTFzH69l7OlB9E-1EDULyMs5RCmwSfezkAe9iLhAYrIj4uF3_12SOc9-PUgEirv9ZxTMLji8CsQ28bvjI63TK8F5TqWCs0z-Kvf65UPfKvI0xwPsPSKBFwtCVzAgQPYGYSV1kzOQfkVbL718uOu75qTTfjMrqN4r8wXb85ArG5bYPAH3riQg.o5veFDh7dhLSLoqshxaKLA', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "Ul2FH1zpmfbXLw8AJjPz",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "uhzaHeasB3YaSla2SDqd7g",
        "aud": [
            "BPmUlRu7KzutLsYlxuAZ"
        ],
        "exp": 1560789632,
        "iat": 1560786212,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "3i8e2OpvvnyoaA3X",
        "rt_hash": "5wKY6waKZbrMZ0vFCbsVcA",
        "sub": "testuser"
    },
    "refresh_token": "xtjq8HhmvRNqTJeQY2wG28TsPKBddGRA3aOfXMcy",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'Pz7hlOSvhlJSOW4O', 'method': 'GET', 'authn_method': 'bearer_header', 'ctype': 'jwt'}
2request{'body': None}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
2request_http_args{'headers': {'Authorization': 'Bearer Ul2FH1zpmfbXLw8AJjPz'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "aud": "BPmUlRu7KzutLsYlxuAZ",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
3OpenIDSchema
{
    "aud": "BPmUlRu7KzutLsYlxuAZ",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
3phase<--<-- 6 --- Done -->-->
3end
3assertionCheckAsymSignedUserInfo
3conditionasym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key]
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