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-17T08:23:01Z

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 -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "IDZS8sTZqtPUnUAv",
    "redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "lsJ6V225bGaQFj4f"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=lsJ6V225bGaQFj4f&nonce=IDZS8sTZqtPUnUAv&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=lsJ6V225bGaQFj4f&nonce=IDZS8sTZqtPUnUAv&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID
1http args{}
2responseURL with fragment
2responseaccess_token=PITtzC8UGAa2OesmX2J1&state=lsJ6V225bGaQFj4f&expires_in=3599&token_type=bearer&code=IysD8N1UyOdnzcoGOucHFv0U2Gj0JU&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IklEWlM4c1RacXRQVW5VQXYiLCJpYXQiOjE1NjA3NTk3ODAsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJ5M09aZ0ZocFZ1c1IwNmlSQW83dDRnIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NjMyMDAsImNfaGFzaCI6ImxkUDc4OHQ2c3VleUNYTURaTGFVTkEiLCJhdWQiOiJjbGllbnRJRCJ9.2vhLqBuYMX2MKB7Ykw82CEKt0bbQPAH6K33c4MvkEBIXfkOk62uTttmGqcv0djI6t2kH3eHT7i70EV97SsjZB0FmgAvY-TYZB2UAKLfQjt_qUC6aOJwoHVbTZ8Zp0UEb8k5lU56RQcKuhod3Cgx4LFODwgjngiD1K4Onex20OI57htieZ79zQ_mMfdCkg0T4xOP4rWIgudTUA_iCXYIy5Lmi3lBAvky86NCBUZIktUWMED4uxRSpkX3ZuZBoQEeJnSHN-kZ23EKhnCf463Hqd74msKCEb62u849a1mBgxNVXM4qRwYhOxRw9S29ARwYrk1kju505HkXKruldDd8jxw
2response{'access_token': 'PITtzC8UGAa2OesmX2J1', 'state': 'lsJ6V225bGaQFj4f', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'IysD8N1UyOdnzcoGOucHFv0U2Gj0JU', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IklEWlM4c1RacXRQVW5VQXYiLCJpYXQiOjE1NjA3NTk3ODAsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJ5M09aZ0ZocFZ1c1IwNmlSQW83dDRnIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NjMyMDAsImNfaGFzaCI6ImxkUDc4OHQ2c3VleUNYTURaTGFVTkEiLCJhdWQiOiJjbGllbnRJRCJ9.2vhLqBuYMX2MKB7Ykw82CEKt0bbQPAH6K33c4MvkEBIXfkOk62uTttmGqcv0djI6t2kH3eHT7i70EV97SsjZB0FmgAvY-TYZB2UAKLfQjt_qUC6aOJwoHVbTZ8Zp0UEb8k5lU56RQcKuhod3Cgx4LFODwgjngiD1K4Onex20OI57htieZ79zQ_mMfdCkg0T4xOP4rWIgudTUA_iCXYIy5Lmi3lBAvky86NCBUZIktUWMED4uxRSpkX3ZuZBoQEeJnSHN-kZ23EKhnCf463Hqd74msKCEb62u849a1mBgxNVXM4qRwYhOxRw9S29ARwYrk1kju505HkXKruldDd8jxw'}
2AuthorizationResponse
{
    "access_token": "PITtzC8UGAa2OesmX2J1",
    "code": "IysD8N1UyOdnzcoGOucHFv0U2Gj0JU",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "y3OZgFhpVusR06iRAo7t4g",
        "aud": [
            "clientID"
        ],
        "c_hash": "ldP788t6sueyCXMDZLaUNA",
        "exp": 1560763200,
        "iat": 1560759780,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "IDZS8sTZqtPUnUAv",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "lsJ6V225bGaQFj4f",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'lsJ6V225bGaQFj4f'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb', 'code': 'IysD8N1UyOdnzcoGOucHFv0U2Gj0JU', 'state': 'lsJ6V225bGaQFj4f', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'lsJ6V225bGaQFj4f', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "IysD8N1UyOdnzcoGOucHFv0U2Gj0JU",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
    "state": "lsJ6V225bGaQFj4f"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&code=IysD8N1UyOdnzcoGOucHFv0U2Gj0JU&state=lsJ6V225bGaQFj4f
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'Ovfbd0Ixd0qir2eJQIC3', 'refresh_token': '7QwVjgxFoz3FrZtlAsIu8hHvX6OIO30sg4DZvLra', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiUlFXaTdvYmZEcVhsZldQbHJDaVk1dyIsIm5vbmNlIjoiSURaUzhzVFpxdFBVblVBdiIsImlhdCI6MTU2MDc1OTc4MSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IktaRlNmMGNYMDVJTzFjVzRXeU1LdGciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzIwMSwiYXVkIjoiY2xpZW50SUQifQ.ijpv1XEPw6QYlrnuyFZSYbRLixphYV1xwr6ooVdKopFL-ZJ5rAnnXT6ZdfcEkp7tlg-gKDpODECzrbDOmYDG8dqS_VW6GYdMlewUyMGrxs5OOE5-920uwt9DL-TzVMaETJ1ZrwY0L2ctigtbT4Ae0JTiSUorhS12H9Y5BhXxxmkZj70msOtQmgezuurx7wdabj6n3qvlANkbm01NzOe0ClegTtGNdGZELbJWbU6rFZmWPYBvWcKWP9H6H-OqHJKl0Mm0oXjzvjVbBPehkNG6p5T17DboEDo9_vLv2Qa5l5xY1ToVaK3TcrfG1v9HoDt5fNmALl4fagVRe3Z5ckDOtw', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "Ovfbd0Ixd0qir2eJQIC3",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "KZFSf0cX05IO1cW4WyMKtg",
        "aud": [
            "clientID"
        ],
        "exp": 1560763201,
        "iat": 1560759781,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "IDZS8sTZqtPUnUAv",
        "rt_hash": "RQWi7obfDqXlfWPlrCiY5w",
        "sub": "testuser"
    },
    "refresh_token": "7QwVjgxFoz3FrZtlAsIu8hHvX6OIO30sg4DZvLra",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2phase<--<-- 5 --- Done -->-->
2end
2assertionCheckIdTokenNonce
2conditioncheck-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.]
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