Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-nonce-noncode
Test descriptionRequest with nonce, verifies it was returned in ID Token [Implicit, Hybrid]
Timestamp2019-06-17T07:07:50Z

Conditions


check-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.]
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 token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61367/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61367/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61367/static/jwks_61367.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:61367/static/jwks_61367.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61367/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61367/authz_cb"
    ],
    "response_types": [
        "code id_token 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": "u7T725pPTmx0YdD8Y8tF",
    "client_id_issued_at": 1560755268,
    "client_secret": "rc12rgc6pOJGKQBV2MgC",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61367/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61367/authz_cb"
    ],
    "registration_access_token": "VOx637u5qdJxa7KzKX5h",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=u7T725pPTmx0YdD8Y8tF",
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "u7T725pPTmx0YdD8Y8tF",
    "nonce": "5BzUhGr1izlc6nDB",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "3PBDP998NqddEF8Q"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=3PBDP998NqddEF8Q&nonce=5BzUhGr1izlc6nDB&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=u7T725pPTmx0YdD8Y8tF
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=3PBDP998NqddEF8Q&nonce=5BzUhGr1izlc6nDB&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=u7T725pPTmx0YdD8Y8tF
2http args{}
2responseURL with fragment
2responseaccess_token=aUps90cPuNHr6AQwbVO8&state=3PBDP998NqddEF8Q&expires_in=3599&token_type=bearer&code=38fkseZHJFmFBvbAmGfF5MMhUIKVSd&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IjVCelVoR3IxaXpsYzZuREIiLCJpYXQiOjE1NjA3NTUyNjksImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJyZUo1cVVaSmF2by0zU2JNZ2pTeW9nIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2ODksImNfaGFzaCI6IldISnFSX2VRYlFTSnVLOWJzeTNjd3ciLCJhdWQiOiJ1N1Q3MjVwUFRteDBZZEQ4WTh0RiJ9.XH7ebdtZ6SZYD7taCKAX_c9J6wBasaxCN9ls_mGDd7pW6AMpRk2KtwMPCgYZEtDqKakaCiUJnPeca131E9N2xuWcQqG76sJAajgR9THnil8mPWSKboqQf2Qy5QeTtptrx0sA0r1xlnEi0iwRMJ0iaQQrjszlMJh0w2biSV5-DVPamC9dc2aFnxvKyRnEEubhjeE_sKdcvnPJDgT8YSUDoum1zhXV5QwQ6Fz7pgI5nubpub6UMYBnmK1w_G8Moj5OAuarKu04V_-t_ySN86NEV7QXKlDqOWE14rZfR_lH3yIzqvRQZ1S9X2MZUiWuA4l41SVZMKRVI3gKj7sLtSnyyA
2response{'access_token': 'aUps90cPuNHr6AQwbVO8', 'state': '3PBDP998NqddEF8Q', 'expires_in': 3599, 'token_type': 'bearer', 'code': '38fkseZHJFmFBvbAmGfF5MMhUIKVSd', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IjVCelVoR3IxaXpsYzZuREIiLCJpYXQiOjE1NjA3NTUyNjksImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJyZUo1cVVaSmF2by0zU2JNZ2pTeW9nIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2ODksImNfaGFzaCI6IldISnFSX2VRYlFTSnVLOWJzeTNjd3ciLCJhdWQiOiJ1N1Q3MjVwUFRteDBZZEQ4WTh0RiJ9.XH7ebdtZ6SZYD7taCKAX_c9J6wBasaxCN9ls_mGDd7pW6AMpRk2KtwMPCgYZEtDqKakaCiUJnPeca131E9N2xuWcQqG76sJAajgR9THnil8mPWSKboqQf2Qy5QeTtptrx0sA0r1xlnEi0iwRMJ0iaQQrjszlMJh0w2biSV5-DVPamC9dc2aFnxvKyRnEEubhjeE_sKdcvnPJDgT8YSUDoum1zhXV5QwQ6Fz7pgI5nubpub6UMYBnmK1w_G8Moj5OAuarKu04V_-t_ySN86NEV7QXKlDqOWE14rZfR_lH3yIzqvRQZ1S9X2MZUiWuA4l41SVZMKRVI3gKj7sLtSnyyA'}
2AuthorizationResponse
{
    "access_token": "aUps90cPuNHr6AQwbVO8",
    "code": "38fkseZHJFmFBvbAmGfF5MMhUIKVSd",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "reJ5qUZJavo-3SbMgjSyog",
        "aud": [
            "u7T725pPTmx0YdD8Y8tF"
        ],
        "c_hash": "WHJqR_eQbQSJuK9bsy3cww",
        "exp": 1560758689,
        "iat": 1560755269,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "5BzUhGr1izlc6nDB",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "3PBDP998NqddEF8Q",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': '3PBDP998NqddEF8Q'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb', 'code': '38fkseZHJFmFBvbAmGfF5MMhUIKVSd', 'state': '3PBDP998NqddEF8Q', 'grant_type': 'authorization_code', 'client_id': 'u7T725pPTmx0YdD8Y8tF'}, 'state': '3PBDP998NqddEF8Q', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAidTdUNzI1cFBUbXgwWWREOFk4dEYiLCAic3ViIjogInU3VDcyNXBQVG14MFlkRDhZOHRGIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI4bzNOeDE3NkZTSFpMMTBMYVd1QkJ0QVBoMWhkc2lmOSIsICJleHAiOiAxNTYwNzU1ODY5LCAiaWF0IjogMTU2MDc1NTI2OX0.0iTcuDPVGm-O21D4j1G7jNC0SMjMClYD0U1zdMRR6RMO7laQTZ6OFlVRdJ7jmY_x2h8_00-YyhnEV0gCjHH-8ff4Q-E-g2ERC6HPGexctWOlZK41Znl2kR37xjoYA6WMuapQOlvzx9U48OYwWNigBZQiV3gxyBUZgZzSIfnlFf34pRoZvU5no48S4_fgkIlMCyV3H9STVSmDT7cQzwkAvcj3GKMBBFMy3vhkimS71hOWK0Jgh2mckiE-cJ2gDBJ5htC5jHO4fuldiCvDtuG7gpwZjNPPa49M9lbGXN9C0yJWj6kGoKkkDCOTX7ekfi1YsEnLHzVYN0Xw04ikMAij8g",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "38fkseZHJFmFBvbAmGfF5MMhUIKVSd",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "state": "3PBDP998NqddEF8Q"
}
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%3A61367%2Fauthz_cb&code=38fkseZHJFmFBvbAmGfF5MMhUIKVSd&state=3PBDP998NqddEF8Q&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAidTdUNzI1cFBUbXgwWWREOFk4dEYiLCAic3ViIjogInU3VDcyNXBQVG14MFlkRDhZOHRGIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI4bzNOeDE3NkZTSFpMMTBMYVd1QkJ0QVBoMWhkc2lmOSIsICJleHAiOiAxNTYwNzU1ODY5LCAiaWF0IjogMTU2MDc1NTI2OX0.0iTcuDPVGm-O21D4j1G7jNC0SMjMClYD0U1zdMRR6RMO7laQTZ6OFlVRdJ7jmY_x2h8_00-YyhnEV0gCjHH-8ff4Q-E-g2ERC6HPGexctWOlZK41Znl2kR37xjoYA6WMuapQOlvzx9U48OYwWNigBZQiV3gxyBUZgZzSIfnlFf34pRoZvU5no48S4_fgkIlMCyV3H9STVSmDT7cQzwkAvcj3GKMBBFMy3vhkimS71hOWK0Jgh2mckiE-cJ2gDBJ5htC5jHO4fuldiCvDtuG7gpwZjNPPa49M9lbGXN9C0yJWj6kGoKkkDCOTX7ekfi1YsEnLHzVYN0Xw04ikMAij8g&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': 'aawCOLTv5ZKDxG9hBlEu', 'refresh_token': 'D2yQyrjAWEgHtYnhqb0Nuo61Qv0m0fjyDIcGvFuV', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiYU5QOVkxcWdqWWtzdVpnWHVkSjlVUSIsIm5vbmNlIjoiNUJ6VWhHcjFpemxjNm5EQiIsImlhdCI6MTU2MDc1NTI3MCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6ImVlV3FlMHlSZ0hoRE5pX2RfNV9ydFEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODY5MCwiYXVkIjoidTdUNzI1cFBUbXgwWWREOFk4dEYifQ.3NDamerxndpKLM8YtDnD1T4faYodaasKiGmcAx-m5hyUmTwMredZp-RPxUTY04X16fWydxVib2xc-ZVgjdbWtY6blbLo1v8Rt42hwAIUVydUQx6AkbixvAqqzB60QcQQO9KObZTovkSVYqyY22w0r-xA_mhyK8kxn_7U5JeWO424dwtR-pzMjF_OjWcEtEJsHdVXBGOSiRzALl7Zfl-CdlloC8RasGXFA6aRTFUhZKELQ9HGQX7rDQ--8-Lbz0j9yLPIIDeg99VJ9lovjKp8Fp3njZKS8osXIfMfm-_Rg99RTAWtpcAyIo1mpVUJlPIbf3U40pJIRHGx5-U0XY1pQg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "aawCOLTv5ZKDxG9hBlEu",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "eeWqe0yRgHhDNi_d_5_rtQ",
        "aud": [
            "u7T725pPTmx0YdD8Y8tF"
        ],
        "exp": 1560758690,
        "iat": 1560755270,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "5BzUhGr1izlc6nDB",
        "rt_hash": "aNP9Y1qgjYksuZgXudJ9UQ",
        "sub": "testuser"
    },
    "refresh_token": "D2yQyrjAWEgHtYnhqb0Nuo61Qv0m0fjyDIcGvFuV",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 5 --- Done -->-->
3end
3assertionCheckIdTokenNonce
3conditioncheck-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.]
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