Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-UserInfo-Header
Test descriptionUserInfo Endpoint access with POST and bearer header
Timestamp2019-06-17T15:09:50Z

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_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 token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61707/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61707/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61707/static/jwks_61707.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "response_types": [
        "code 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": "VhlOVIfgYcg1OUPjHC6M",
    "client_id_issued_at": 1560784188,
    "client_secret": "Jq4SIBj13nVjRP1kaS9s",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "registration_access_token": "TMMHsBhnTQf4jz5e3b7n",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=VhlOVIfgYcg1OUPjHC6M",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "VhlOVIfgYcg1OUPjHC6M",
    "nonce": "jFSb7OMg2PyRToGK",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "k5VoT5bgSCNOIvHN"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=k5VoT5bgSCNOIvHN&nonce=jFSb7OMg2PyRToGK&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=VhlOVIfgYcg1OUPjHC6M
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=k5VoT5bgSCNOIvHN&nonce=jFSb7OMg2PyRToGK&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=VhlOVIfgYcg1OUPjHC6M
1http args{}
2responseURL with fragment
2responseaccess_token=TcVMh6lsnWCQdQnsIkwO&state=k5VoT5bgSCNOIvHN&expires_in=3599&token_type=bearer&code=d5lA1FfHBaynZk97skyWP1fUJAz7NQ&scope=openid
2response{'access_token': 'TcVMh6lsnWCQdQnsIkwO', 'state': 'k5VoT5bgSCNOIvHN', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'd5lA1FfHBaynZk97skyWP1fUJAz7NQ', 'scope': 'openid'}
2AuthorizationResponse
{
    "access_token": "TcVMh6lsnWCQdQnsIkwO",
    "code": "d5lA1FfHBaynZk97skyWP1fUJAz7NQ",
    "expires_in": 3599,
    "scope": "openid",
    "state": "k5VoT5bgSCNOIvHN",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'k5VoT5bgSCNOIvHN'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'd5lA1FfHBaynZk97skyWP1fUJAz7NQ', 'state': 'k5VoT5bgSCNOIvHN', 'grant_type': 'authorization_code', 'client_id': 'VhlOVIfgYcg1OUPjHC6M'}, 'state': 'k5VoT5bgSCNOIvHN', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiVmhsT1ZJZmdZY2cxT1VQakhDNk0iLCAic3ViIjogIlZobE9WSWZnWWNnMU9VUGpIQzZNIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJISk5MRzIydEFpdWhlMjllS1ZDaWxSM0FRdW83MnpaSiIsICJleHAiOiAxNTYwNzg0Nzg5LCAiaWF0IjogMTU2MDc4NDE4OX0.mQPSiO7F9O6HJnyVUl-hAu1KiUKR31njzDB6BCjFvuNJhDFTG7Kg7ouRdOkGNJlp-v1cLZhOHytXLAn_HUdpaiQn3e2LofLKx8wSVbo3TbSYrvQyDH0g5r4_Rret0AYGsHhAoD-yEaOj80ju0gysiRJGHWiY0IyvsDBy3GL4SVTxQSoNu6AsefVaf2FPhKQ_n7GzWkycO7DvNtuR6DLqOmqpI5yuJ4kC6mVEEtxzC8F_XbHOI7Hu2qykb_Y9_eyUMHjCVV8d5pcCQIr9f6jdy2p8YggY79ZynRORMCdFvYcE64mFyKLRAOxMF_g_0wTtIiHMlP6crh5YjApEdcrxrg",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "d5lA1FfHBaynZk97skyWP1fUJAz7NQ",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "state": "k5VoT5bgSCNOIvHN"
}
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%3A61707%2Fauthz_cb&code=d5lA1FfHBaynZk97skyWP1fUJAz7NQ&state=k5VoT5bgSCNOIvHN&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiVmhsT1ZJZmdZY2cxT1VQakhDNk0iLCAic3ViIjogIlZobE9WSWZnWWNnMU9VUGpIQzZNIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJISk5MRzIydEFpdWhlMjllS1ZDaWxSM0FRdW83MnpaSiIsICJleHAiOiAxNTYwNzg0Nzg5LCAiaWF0IjogMTU2MDc4NDE4OX0.mQPSiO7F9O6HJnyVUl-hAu1KiUKR31njzDB6BCjFvuNJhDFTG7Kg7ouRdOkGNJlp-v1cLZhOHytXLAn_HUdpaiQn3e2LofLKx8wSVbo3TbSYrvQyDH0g5r4_Rret0AYGsHhAoD-yEaOj80ju0gysiRJGHWiY0IyvsDBy3GL4SVTxQSoNu6AsefVaf2FPhKQ_n7GzWkycO7DvNtuR6DLqOmqpI5yuJ4kC6mVEEtxzC8F_XbHOI7Hu2qykb_Y9_eyUMHjCVV8d5pcCQIr9f6jdy2p8YggY79ZynRORMCdFvYcE64mFyKLRAOxMF_g_0wTtIiHMlP6crh5YjApEdcrxrg&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': 'di3gPGPewfxZKXYPTdXq', 'refresh_token': 'xC3MWhOEMGCrrPXJ1jRz7wJCEhRZWXpO3OECaT3x', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.CRqQw9HKh7WRReHFKe76iLfAy9C1TB-zfmhSv0BprVIx58FJ6NCoG1bo3QnycVwwsf3r0TfITfukZ2GrStalZ1d5bkPnvFXDoqJQb_4GQrcSN0Muc_0Iiknl8T3wlJBCMS7z-PAUxCLJB9O2QuPsdvYNUUytlPuFed4FjoZLauBA-Mw9mP8s4V5ZHxL2gbf3jljRz6Tqpxz75jXitSVGuNtMpm_-An8Wj5LXfem_KSB5kr8rmGUCjQMnHRyAxMmopSD7m1tlaOrP1wtCK1FFV7qTdoZW8wtrabC5ITUQQq75tAwzdTafoI6leh9xf8_JWw2TziLGyDUD6OKezF2npw.NC4fujrCYlLVxLDxw9wcsw.v6H74ejt4Yjl8LH9JL-UHWtUkUZRoeZC7nxyYOXVDusyStdwZvQay_nQY-BPFUCOvCDVYISj8LsOKKOPD7aZsS1gqkgdSt2cwnlU7y0sSaKWL0otKAxs8GllVYA6N7V-Knnnq4lP7HosF0nobP4_JIyvhfdxHVZG0T29dnRq72UNnNRM_zqGTUFxHUMd0ARlp--tyx7hlW8UMkkvHKPIdk42M9BqMAfKVo041UiKhJbVDFD8ItCylAn90gkgdrh7oCQxqJO-djZgsqLSZdr3zhyxABXY2Wfke-cT2ZW-XGXbYVCUttticlw8wYnBbSzund7KPqjyhJnmVrbQI0pKvwUZTvb59uDnr9__TOGVWJ8dbuP3RmaVtR1aXfJG8AsjbH1HhZbbNJJMH2Q9jT8ZPTzWZh66_qKPhD585w_h4QZJ-dmsGpqR30mKFOnccYDRzq8nV29Gm4hexw63mB5kGa_r5GIOymu5J_8dmuuikbKveWPdHlL_lJ4COZhnsFNpZRALxNAs0lRJJDT5apQ9UNGqN5X1W9hqyv5x_JOtqqrOFvJ5TgUlQZIEPfnswJnadWvTFqx4iYj22lS96onGXT2oMkX12FRv4-Y9BK9E8nLYQjpdEd1sphokOSaavfjJl48gAIu3FoR_MQG6sG-VRzOsZvgiAXQmLCC6NnOQGSXQ1tsQJ1BbCK0iT9zfFZn0Dwt0XPbLmdk_u57DBK5lWwh84azCN8M5AW3nzO1hlV1tum92dLbXO1TAEWkrNq2oCSDN4DOn0pTiFnEhkZcHe0Jnm64qenUv1CnmfLMQ4Ghkj5u-4LLpBb2gTPPDlCqd83_hdCroVyXNnhqlqpSAVDAt8f3MhnnE4RK4aScOI74gFuOsXsU6NSW87bxel0DTaXKnYnUMq4KXCI1M-lHtUbWyd_6bBZPoICIts7Wco71zBOuuWeWHlARk-5wZnfn5pkdmtyBCEcXr4to4yTPn5g.BuG-eAC-EypxXfS1zJrwvg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "di3gPGPewfxZKXYPTdXq",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "DjI-ZqDpguPhpoyXD9iMlw",
        "aud": [
            "VhlOVIfgYcg1OUPjHC6M"
        ],
        "exp": 1560787609,
        "iat": 1560784189,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "jFSb7OMg2PyRToGK",
        "rt_hash": "Yzxw6EugDb_XSOns-kS-pQ",
        "sub": "testuser"
    },
    "refresh_token": "xC3MWhOEMGCrrPXJ1jRz7wJCEhRZWXpO3OECaT3x",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'k5VoT5bgSCNOIvHN', 'method': 'POST', 'behavior': 'use_authorization_header'}
3request{'body': ''}
3request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
3request_http_args{'headers': {'Authorization': 'Bearer di3gPGPewfxZKXYPTdXq', 'Content-Type': 'application/x-www-form-urlencoded'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "sub": "testuser"
}
3OpenIDSchema
{
    "sub": "testuser"
}
3phase<--<-- 6 --- 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