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-18T04:21:38Z

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": [
        "A128KW"
    ],
    "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 -->-->
1not expected to doDynamic registration
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "nkQFmJEm2uhVcIyd",
    "redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "hX9FC17L0PRzWB7m"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=hX9FC17L0PRzWB7m&nonce=nkQFmJEm2uhVcIyd&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=hX9FC17L0PRzWB7m&nonce=nkQFmJEm2uhVcIyd&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID
1http args{}
2responseURL with fragment
2responseaccess_token=m9eWBpf4B08NWN0TQbc8&state=hX9FC17L0PRzWB7m&expires_in=3599&token_type=bearer&code=bBbHUhWP10TsNprGGu7xyjtt3NkCQU&scope=openid
2response{'access_token': 'm9eWBpf4B08NWN0TQbc8', 'state': 'hX9FC17L0PRzWB7m', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'bBbHUhWP10TsNprGGu7xyjtt3NkCQU', 'scope': 'openid'}
2AuthorizationResponse
{
    "access_token": "m9eWBpf4B08NWN0TQbc8",
    "code": "bBbHUhWP10TsNprGGu7xyjtt3NkCQU",
    "expires_in": 3599,
    "scope": "openid",
    "state": "hX9FC17L0PRzWB7m",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'hX9FC17L0PRzWB7m'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb', 'code': 'bBbHUhWP10TsNprGGu7xyjtt3NkCQU', 'state': 'hX9FC17L0PRzWB7m', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'hX9FC17L0PRzWB7m', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "bBbHUhWP10TsNprGGu7xyjtt3NkCQU",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
    "state": "hX9FC17L0PRzWB7m"
}
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%3A61771%2Fauthz_cb&code=bBbHUhWP10TsNprGGu7xyjtt3NkCQU&state=hX9FC17L0PRzWB7m
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'IxPkHc3MqObk0EUzplZO', 'refresh_token': 'HS2vwIscZAGzWqF6mU4wy0PWgZrRZoXSKKayq5i9', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUh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'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "IxPkHc3MqObk0EUzplZO",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "j0a1BSxyfgQVRxg6r59hZQ",
        "aud": [
            "clientID"
        ],
        "exp": 1560835118,
        "iat": 1560831698,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "nkQFmJEm2uhVcIyd",
        "rt_hash": "9iA8DsT7i9q6QzLbF-FPSw",
        "sub": "testuser"
    },
    "refresh_token": "HS2vwIscZAGzWqF6mU4wy0PWgZrRZoXSKKayq5i9",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
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