Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-RS256
Test descriptionAsymmetric ID Token signature with RS256
Timestamp2019-06-17T15:09:24Z

Conditions


verify-idtoken-is-signed: status=OK [Verifies that an ID Token is signed]
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', 'id_token_signed_response_alg': 'RS256'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "id_token_signed_response_alg": "RS256",
    "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"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "sBJ5igX81rgrEE2YrYo1",
    "client_id_issued_at": 1560784162,
    "client_secret": "XLHn2Ow8mnT7cQMEgLFB",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "id_token_signed_response_alg": "RS256",
    "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": "DlbsqYJdBHFJPwHjmp0d",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=sBJ5igX81rgrEE2YrYo1",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "sBJ5igX81rgrEE2YrYo1",
    "nonce": "KGwbMDda5XRjkn4o",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "1xYN3NphPqR437Md"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=1xYN3NphPqR437Md&nonce=KGwbMDda5XRjkn4o&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=sBJ5igX81rgrEE2YrYo1
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=1xYN3NphPqR437Md&nonce=KGwbMDda5XRjkn4o&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=sBJ5igX81rgrEE2YrYo1
1http args{}
1responseURL with fragment
1responseaccess_token=f5evvjNnIVcb8UGHmmxw&state=1xYN3NphPqR437Md&expires_in=3599&token_type=bearer&code=vsmgA1uSlvQpdG70waEhXs4ro1BIZT&scope=openid
1response{'access_token': 'f5evvjNnIVcb8UGHmmxw', 'state': '1xYN3NphPqR437Md', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'vsmgA1uSlvQpdG70waEhXs4ro1BIZT', 'scope': 'openid'}
1AuthorizationResponse
{
    "access_token": "f5evvjNnIVcb8UGHmmxw",
    "code": "vsmgA1uSlvQpdG70waEhXs4ro1BIZT",
    "expires_in": 3599,
    "scope": "openid",
    "state": "1xYN3NphPqR437Md",
    "token_type": "bearer"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': '1xYN3NphPqR437Md'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'vsmgA1uSlvQpdG70waEhXs4ro1BIZT', 'state': '1xYN3NphPqR437Md', 'grant_type': 'authorization_code', 'client_id': 'sBJ5igX81rgrEE2YrYo1'}, 'state': '1xYN3NphPqR437Md', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAic0JKNWlnWDgxcmdyRUUyWXJZbzEiLCAic3ViIjogInNCSjVpZ1g4MXJnckVFMllyWW8xIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJiaGpvVEhVRkRDVHpNa0NUV1JXcFJGQ1BKUUNUSnR3ZCIsICJleHAiOiAxNTYwNzg0NzY0LCAiaWF0IjogMTU2MDc4NDE2NH0.jJgsUIgtgP7ZraPFfDC8K04ZDzfYksfgIpHmWsf7rxVd4OAG_6fBZbkHtZsAb-QSP-KlBKopD3XDfmjiK_Zq9V224YruAnk62PfM0X5kNgRu_anUWfJ8UI_P3BvWFNxB_EcllZHbykOSD3Oqd9_cdGjqPudchfnmadIqRYYzvW6bFZqg6ig9ai-xhYWsnL3oAe8zbwVuQ6alkkmCq6tiqI1cDR2HlpkZEaMs76EHs6JSgqzYdikGXbPAppntk3lATUlOdQoRVT2St5swX0FmGrHZpIDQIP5NO1lir_GYIYYTp973wHu-HijaR0j_e7yAm5Mk0lItrBJBlt7FUSdf8g",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "vsmgA1uSlvQpdG70waEhXs4ro1BIZT",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "state": "1xYN3NphPqR437Md"
}
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=vsmgA1uSlvQpdG70waEhXs4ro1BIZT&state=1xYN3NphPqR437Md&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAic0JKNWlnWDgxcmdyRUUyWXJZbzEiLCAic3ViIjogInNCSjVpZ1g4MXJnckVFMllyWW8xIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJiaGpvVEhVRkRDVHpNa0NUV1JXcFJGQ1BKUUNUSnR3ZCIsICJleHAiOiAxNTYwNzg0NzY0LCAiaWF0IjogMTU2MDc4NDE2NH0.jJgsUIgtgP7ZraPFfDC8K04ZDzfYksfgIpHmWsf7rxVd4OAG_6fBZbkHtZsAb-QSP-KlBKopD3XDfmjiK_Zq9V224YruAnk62PfM0X5kNgRu_anUWfJ8UI_P3BvWFNxB_EcllZHbykOSD3Oqd9_cdGjqPudchfnmadIqRYYzvW6bFZqg6ig9ai-xhYWsnL3oAe8zbwVuQ6alkkmCq6tiqI1cDR2HlpkZEaMs76EHs6JSgqzYdikGXbPAppntk3lATUlOdQoRVT2St5swX0FmGrHZpIDQIP5NO1lir_GYIYYTp973wHu-HijaR0j_e7yAm5Mk0lItrBJBlt7FUSdf8g&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': 'YioRiM0JjB2KQ6EDTnHS', 'refresh_token': 'zShDVyWXfCAmIpltN02Ofi9LwhafyXto3EDKd4OQ', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.QXeNWMlYowSIwKbWEsLuPLuvELCTnAY67mvxyEWUPYj0OOgucMzCf-J8QSE3zYO2Aw3mXBJ7YCRw044h2-8rRhf_Aix9KcCIRxdQXCyKDrKf5Ombon3Stxg7cfUOaLfFvEX_A9DceWcgpumwLP_zYu_WRM9CsBn_vMtR2YAU6EmKHdPAj7ZTslzy-3RRCohIRnlD0n6JOLhEXwa3FN5dWSkKM84NHAVBWauw3RvBZGpLDagKEpLOG1iToF3mvcCt5O-a8BW1JtQu0ONksqVfOsEG_agIjtShKNCB3D9dNnxcclX1UVSWJeqMQPp0HV1M4csQiBVhXOsH6wNkM4LKsg.b3DrspUdWhOgQrXJgnrsJg.Mjhhrke6I08V1GVYLiNnEJJFVEX8VIkxuBdus6cFOzCCtvb08IMVi9CRHGh2ixyTgZqKIlmA27By7PtmM9oAee6gZ5tKfRzMpyfl9Tfrv9bVlgL6t7kqImUUAiQoR-i7aD1OKET2A_W9xxU0tF9Al25rWiQ_IKtnDjxlufL61Ks61FLvyHQ3KHdM03GJJaUkpmAHCa2Qi2I45Hdtd6IMyzC1aGc7fIaWG8rXxlvAuiFe0SEgH2aZAy25Tbp17H0qpPXZHBDa_dbJQJQv_MxrYsFtU6zYPWYQkoISIs1HXNv_XTVfkTvbuo579xF9MapAYCjsTLMmVonL4Le5lsE3DvGhaI5v_5sHRh4x-xJdQEL3UlGY3Fqn6hiawxbEJ48a_gUO3hHIrEEMnlH6iSgRj8kF4QbZbwOiqExTeT1IkBwdp8AXOTJSDze4h-Dgm3DOuhsy4l6l66CS375xdFU8mi3_eRIZnIZe_UuOIuqGm7Vstj--bR5r3_gS8AmO8l9OXvfBsZUM5kW4EEVEk-d9cEEpOGheRplhIRSLOoMz8mYUhQefE9mmeValmgG67TmTTxqGcPLAcisMgT7Ys3dGS8upsR4eDvGt86B0Kun1VuKypJ-BIxWc5LIntPyuTNigZcYsoSTxt1ZJdeeulozJm32XILOEJ9wFLVh5JbuERVZ1QbBnTQArdXw-LC_Seoe3yId-V4XX1LSj_NU2nlyICm_4lEX_v5t-TgjQc-7aKaxC0GsbTnu7dqvIgCx_4WozTbk0NRz_GHRT4OAoT6IoIMnq9veYkPo_Z2h0vWrRwUwgqN9MkOlIZRo0rppgaJxmynyvtjWMqlBr6ay_29K-62VUCvQc1hgkJahCp6hoSOK9rhfWT0yCzHoODchfD4uVJ4uAZJzH2-cpFRr4BWXxpSAMzgoQw-qpMkDXvPCV2m_5FB_gs65qPPpwQDcItaqc_v1n-Ure_65YwlmI8LDxgQ.oXZi-vtqVXMPwEgpIK8tJw', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "YioRiM0JjB2KQ6EDTnHS",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "6pUQkXTX_4Q5Kk_3YfGY-w",
        "aud": [
            "sBJ5igX81rgrEE2YrYo1"
        ],
        "exp": 1560787584,
        "iat": 1560784164,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "KGwbMDda5XRjkn4o",
        "rt_hash": "Rya3nR1UQKu48j_AJ6Aiow",
        "sub": "testuser"
    },
    "refresh_token": "zShDVyWXfCAmIpltN02Ofi9LwhafyXto3EDKd4OQ",
    "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 --- Done -->-->
2end
2assertionVerifySignedIdToken
2conditionverify-idtoken-is-signed: status=OK [Verifies that an ID Token is signed]
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