Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-claims-essential
Test descriptionClaims request with essential name claim
Timestamp2019-06-17T15:14:44Z

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": [
        "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"
}
0phase<--<-- 2 --- Registration -->-->
0register
kwargs:{'response_types': ['id_token token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61585/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61585/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61585/static/jwks_61585.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb"
    ],
    "response_types": [
        "id_token token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "HNitOpvEm0o27nIdvHaQ",
    "client_id_issued_at": 1560784482,
    "client_secret": "BiLNdvIY03BFzVhF2yMz",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb"
    ],
    "registration_access_token": "3ILnuLfLUFJuMV3j5lgO",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=HNitOpvEm0o27nIdvHaQ",
    "response_types": [
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "claims": {
        "userinfo": {
            "name": {
                "essential": true
            }
        }
    },
    "client_id": "HNitOpvEm0o27nIdvHaQ",
    "nonce": "Z0bZTYlHfDXQG1pP",
    "redirect_uri": "https://op.certification.openid.net:61585/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "H7jv1YWZxiD3rKaZ"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=H7jv1YWZxiD3rKaZ&nonce=Z0bZTYlHfDXQG1pP&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=HNitOpvEm0o27nIdvHaQ
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=H7jv1YWZxiD3rKaZ&nonce=Z0bZTYlHfDXQG1pP&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=HNitOpvEm0o27nIdvHaQ
1http args{}
1responseURL with fragment
1responseacc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gs7UNloeTr3zD56Oq0",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "KuQ2FudyLE4DLP32uqERfw",
        "aud": [
            "HNitOpvEm0o27nIdvHaQ"
        ],
        "exp": 1560787903,
        "iat": 1560784483,
        "iss": "https://isamfed.com:30443/test",
        "name": "isamfed testuser",
        "nonce": "Z0bZTYlHfDXQG1pP",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "H7jv1YWZxiD3rKaZ",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'H7jv1YWZxiD3rKaZ', '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 THgs7UNloeTr3zD56Oq0'}}
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
2OpenIDSchema
{
    "name": "isamfed testuser",
    "sub": "testuser"
}
2OpenIDSchema
{
    "name": "isamfed testuser",
    "sub": "testuser"
}
2phase<--<-- 6 --- Done -->-->
2end
2assertionVerifyClaims
2conditionverify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for]
2assertionCheckHTTPResponse
2conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
2conditionDone: status=OK

Result

PASSED