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-17T15:23:22Z

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'}
1http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "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"
}
1phase<--<-- 2 --- Registration -->-->
1register
kwargs:{'response_types': ['id_token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61584/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61584/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61584/static/jwks_61584.json', 'token_endpoint_auth_method': 'private_key_jwt'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61584/static/jwks_61584.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61584/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61584/authz_cb"
    ],
    "response_types": [
        "id_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": "lG38b1vqUEf8BYAFp6Sy",
    "client_id_issued_at": 1560785000,
    "client_secret": "Mwco2qtsz7Kf62XV0v6A",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61584/static/jwks_61584.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61584/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61584/authz_cb"
    ],
    "registration_access_token": "X0gLS4W0tytQEevTUbDT",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=lG38b1vqUEf8BYAFp6Sy",
    "response_types": [
        "id_token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "lG38b1vqUEf8BYAFp6Sy",
    "nonce": "3IwJLhwQjmodNiYc",
    "redirect_uri": "https://op.certification.openid.net:61584/authz_cb",
    "response_type": "id_token",
    "scope": "openid",
    "state": "F016AWLK6FMOmkZc"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=F016AWLK6FMOmkZc&nonce=3IwJLhwQjmodNiYc&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61584%2Fauthz_cb&client_id=lG38b1vqUEf8BYAFp6Sy
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=F016AWLK6FMOmkZc&nonce=3IwJLhwQjmodNiYc&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61584%2Fauthz_cb&client_id=lG38b1vqUEf8BYAFp6Sy
3http args{}
3responseURL with fragment
3responseid_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.FezHF-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dJQGduLT91e0uHLcy2GHBjc7iCYxj0LcyDgLNi5qqxKjzrvYFzFc5rO4tWncaXTN75q636O9V2orQvulpq4QssajSBnkikG8Yn41agmU87K6wtD44h6wAmk4JxIOy77rKyYxJ7J3CcsBWEJe9saWhopJyHxDaqT7qZFEJnmdv-l-PB--dRClgQDctas7rMHouopj8T2230Ykr9_eYXYWwEjVwtI_mfLiRJ8mJZFGdlaK0czOyXbkD8NuvQy6DHMG7GVs_GntwmYgZY_rglVvHPOsCpP5JP83fCiOV468fbqqMEZj_W_s8GCQ3k_Uo7EtDaaRl06bC3bIlmFvjA6KKmTPGFWshOe-t4CdUIQ5zBNoEsMfEVFGLAwje2RviDD0brIjoX-QPst0GXQQvNe5Z-uGjgD4SDbQ3QSargoRsMjBIJ78eY0A2XQg-FPCeMLhhzWmP6Tk5QXsGGB3tiJ_1MDBYsvBsx5uACZYVR2arvVERWmRERHVHxVjmGg.rs_qg0H5xYALA8ub8sPNZA', 'state': 'F016AWLK6FMOmkZc'}
3AuthorizationResponse
{
    "id_token": {
        "aud": [
            "lG38b1vqUEf8BYAFp6Sy"
        ],
        "exp": 1560788421,
        "iat": 1560785001,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "3IwJLhwQjmodNiYc",
        "sub": "testuser"
    },
    "state": "F016AWLK6FMOmkZc"
}
3phase<--<-- 4 --- AccessToken -->-->
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