Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-claims-essential
Test descriptionClaims request with essential name claim
Timestamp2019-06-18T04:21:30Z

Conditions


verify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for]
check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
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": [
        "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"
}
0phase<--<-- 2 --- Registration -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "claims": {
        "userinfo": {
            "name": {
                "essential": true
            }
        }
    },
    "client_id": "clientID",
    "nonce": "byV0e2q032vMk4A2",
    "redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "ACI6Ml3f95MfFy7x"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=ACI6Ml3f95MfFy7x&nonce=byV0e2q032vMk4A2&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=ACI6Ml3f95MfFy7x&nonce=byV0e2q032vMk4A2&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=clientID
1http args{}
1responseURL with fragment
1responseaccess_token=Ur4XMPkn5jcfTwPuRxzP&state=ACI6Ml3f95MfFy7x&expires_in=3599&token_type=bearer&code=R07eb6f60T94Gszev8wM0dQbO3OC9H&scope=openid
1response{'access_token': 'Ur4XMPkn5jcfTwPuRxzP', 'state': 'ACI6Ml3f95MfFy7x', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'R07eb6f60T94Gszev8wM0dQbO3OC9H', 'scope': 'openid'}
1AuthorizationResponse
{
    "access_token": "Ur4XMPkn5jcfTwPuRxzP",
    "code": "R07eb6f60T94Gszev8wM0dQbO3OC9H",
    "expires_in": 3599,
    "scope": "openid",
    "state": "ACI6Ml3f95MfFy7x",
    "token_type": "bearer"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'ACI6Ml3f95MfFy7x'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb', 'code': 'R07eb6f60T94Gszev8wM0dQbO3OC9H', 'state': 'ACI6Ml3f95MfFy7x', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'ACI6Ml3f95MfFy7x', 'authn_method': 'client_secret_basic'}
1AccessTokenRequest
{
    "code": "R07eb6f60T94Gszev8wM0dQbO3OC9H",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
    "state": "ACI6Ml3f95MfFy7x"
}
1request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
1request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&code=R07eb6f60T94Gszev8wM0dQbO3OC9H&state=ACI6Ml3f95MfFy7x
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'fSt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FeOKy49FkX2H3GpvdFznxJCxYOEFeNW2dOCqpBS-vJ26ipBSWDxeLxCn8HyVjPtMh6gJc27HMuIJ-wthVpoxfeo3TDkEeIuOLJWEa5y6cxL48SI6gQqTBHfBcQ-V4CYB.yLF4wz6IFKpzM0GcRlQNMA', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "fStAQY64uBNAhkpjhq1w",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "dHpgQSMIugJ32tRbSgDqwg",
        "aud": [
            "clientID"
        ],
        "exp": 1560835109,
        "iat": 1560831689,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "byV0e2q032vMk4A2",
        "rt_hash": "YC4fPACcuxiIcmpgry0l8w",
        "sub": "testuser"
    },
    "refresh_token": "Jx7az14Yoe4MWQAeTdCdRYW301rIZRvp9lUAhogd",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'ACI6Ml3f95MfFy7x', 'method': 'GET', 'authn_method': 'bearer_header'}
2request{'body': None}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
2request_http_args{'headers': {'Authorization': 'Bearer fStAQY64uBNAhkpjhq1w'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "name": "isamfed testuser",
    "sub": "testuser"
}
3OpenIDSchema
{
    "name": "isamfed testuser",
    "sub": "testuser"
}
3phase<--<-- 6 --- Done -->-->
3end
3assertionVerifyClaims
3conditionverify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for]
3assertionCheckHTTPResponse
3conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
3conditionDone: status=OK

Result

PASSED