Test Info

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

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'}
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
{
    "claims": {
        "userinfo": {
            "name": {
                "essential": true
            }
        }
    },
    "client_id": "clientID",
    "nonce": "QRyPGd93H9KFEjBs",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "mP3emP48vy93CejS"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=mP3emP48vy93CejS&nonce=QRyPGd93H9KFEjBs&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=mP3emP48vy93CejS&nonce=QRyPGd93H9KFEjBs&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=clientID
2http args{}
2responseURL with fragment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ytmooMN32speoi4dSYO9Iu7JR7cLhb5T6YnbfrYuKjJLil7q2A3xYzVxXnlzkdck7ul7nAmHagkE6n4EgaHLAPOY4UcNDiilySHukprUBgbMzqTBTz82NBNuXbsUICBvEvmDyBGJl7MtVQxuj-ufVLfU8x60T7jPA.BZUHpjS2EV4UndbcogoOyA'}
2AuthorizationResponse
{
    "code": "dG4DKbdK1I7VOy7QVDzax9p2SrtBxJ",
    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "MZAD8To3gP3TENXkqpk0jw",
        "exp": 1560834908,
        "iat": 1560831488,
        "iss": "https://isamfed.com:30443/test",
        "name": "isamfed testuser",
        "nonce": "QRyPGd93H9KFEjBs",
        "sub": "testuser"
    },
    "state": "mP3emP48vy93CejS"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'mP3emP48vy93CejS'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb', 'code': 'dG4DKbdK1I7VOy7QVDzax9p2SrtBxJ', 'state': 'mP3emP48vy93CejS', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'mP3emP48vy93CejS', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "dG4DKbdK1I7VOy7QVDzax9p2SrtBxJ",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "state": "mP3emP48vy93CejS"
}
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%3A61772%2Fauthz_cb&code=dG4DKbdK1I7VOy7QVDzax9p2SrtBxJ&state=mP3emP48vy93CejS
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': '9oqw3EYOypHsnJWdAiTQ', 'refresh_token': 'G5BNyJRqoAFgIOlpbWhlQEi7LY82WgZ1ViFnuWWC', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.VkwwmvHjLA90TuSqczVPr_lYzY6A7pS3QM6C2C0llTZI14QgCAMbtQ.b2HgLmtAzZ2I15NWcsUaaw.Btz3tYwy5nrHV6lUEa0gT4NWE-yL4M5-d60dDHn-QKC-XPQSzLjbLxi6CvkiXXu4RX3N8fErcgIkTJVoz478z5mECVM9WWAeEpJ8SpLl-pxsX7m8Te0oZ7Q9FYtGTi6Z1tue3UdGnQNEj3vEW-2SzB9HBZUrSmpIf9vnpuYiLRLYuIh1gYizpXuRpXkr0-iahPT3zemy6R3BvfiHldjjfhh5RYJI4PAYxFCgnNBb0x_-h36XzUITYvB4gpM4vKTGrg4PIerb73k3XsWgVl6VZLq5geairnSRksDfoY0fPZTOKKpi8ZX4StNhZ2abcDCV2ff4OO6lZue8P8WwbXDN4bpgVjTg9cvkXEsBiPDnow7R8ct0pKChV4Nbft1enbRtFpDFrnUuHlNS3iq3bG3ghR9MMWGyEKSQ5Wuxe1Gh_EcNBD4CUdH7PzhUJyohKh4i0SoIqziUlXlz-8U7_k5m-t1fasOLv8bflR4yKvPA7oaPmdcleDP5VZtDSujQo0GVd1On3RVdmw0vwMageZOsZ2ued4qAqAmfNbnjnyRTSkb0LIJdLkQfaLfB4fzX4bVXr94wq5gVOn1J69zStecjOLzIEmFO19LWEuXz1mPwXBqlj_awczydf9UaRKnQcHLm2E5PKB39GKlqllXFzne3rQtM-ciA3ScUUYZUAJbniBq2lB7Deg_edWgC5IUR23C4lGoXEv5oNsCFBJP6Ltp5dtZGXw63FgI-dwNDH8LMqKdmg-GUI8_ZQwTdEyC3tcea-7ltBd6w-5XEWsoJYKD_hhNmUf1_mKwHX5BQaXDOmPOIcOVioYVFjTiH_IeT-TqjLs27OP_3yLepQaBN7pZrQKwKcnFAw-z8uOxvMSgtKKxdv2cmp9e3ZWrovONID_kxheIiqnckA5_hOhRzGS2EJLhjP9sjnKzBwijBQPOsD9R5hpSBbR0IWN2u-yO9zTPX.Q0SuPMSJl7zf30MuwnTr_A', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "9oqw3EYOypHsnJWdAiTQ",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "FpOvOH6UEFW7iqCDbKid6w",
        "aud": [
            "clientID"
        ],
        "exp": 1560834910,
        "iat": 1560831490,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "QRyPGd93H9KFEjBs",
        "rt_hash": "NB6elTv1ZDUfkcl4f1zsTg",
        "sub": "testuser"
    },
    "refresh_token": "G5BNyJRqoAFgIOlpbWhlQEi7LY82WgZ1ViFnuWWC",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'mP3emP48vy93CejS', 'method': 'GET', 'authn_method': 'bearer_header'}
3request{'body': None}
3request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
3request_http_args{'headers': {'Authorization': 'Bearer 9oqw3EYOypHsnJWdAiTQ'}}
4http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
4OpenIDSchema
{
    "name": "isamfed testuser",
    "sub": "testuser"
}
4OpenIDSchema
{
    "name": "isamfed testuser",
    "sub": "testuser"
}
4phase<--<-- 6 --- Done -->-->
4end
4assertionVerifyClaims
4conditionverify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for]
4assertionCheckHTTPResponse
4conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
4conditionDone: status=OK

Result

PASSED