Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-claims-essential
Test descriptionClaims request with essential name claim
Timestamp2019-06-17T08:04: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_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": "lJ6h4ZlaE7o7d5Ae",
    "redirect_uri": "https://op.certification.openid.net:61515/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "dNp6sdPBfAXuwtuk"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=dNp6sdPBfAXuwtuk&nonce=lJ6h4ZlaE7o7d5Ae&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61515%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=dNp6sdPBfAXuwtuk&nonce=lJ6h4ZlaE7o7d5Ae&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61515%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=3ulYZ48GfHpdjy9D01Ly&state=dNp6sdPBfAXuwtuk&expires_in=3599&token_type=bearer&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImxKNmg0WmxhRTdvN2Q1QWUiLCJuYW1lIjoiaXNhbWZlZCB0ZXN0dXNlciIsImlhdCI6MTU2MDc1ODY2OSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Il9fYWc1dnhROWRmZmRiYjlqb1RjNEEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MjA4OSwiYXVkIjoiY2xpZW50SUQifQ.fBQ7MDbgW9l-n0BH8melgb2_cD3ZJXlS6wcs4NtxXiV48MqracNM6UUZWs9ZKPofD69ii9HJXWc3Ni8CVAHTRqmdtwKpd4EPP9yOwBmZnHDCW_kyyhKjaj6GmbLpRt3me6KseSoLP4IqyG9A2FXRdpmO3YLUR1-tlxejx6qEwOJ5bQLTT3erEEmglK2y_pZIrI4aPuSfuOdcnO8UPUze_RTZwyKvwOdWBB-THYqUBHUJ8bjKuIFPXKmg8FoRcHdr11EHIxvR1uzz3drXGIAJ4qAlNsveO5uwLFVrDSef7XZStnw_rsD3mU6INRtuxi8fBmDbfy25WNhDU5BzGtqAjg
1response{'access_token': '3ulYZ48GfHpdjy9D01Ly', 'state': 'dNp6sdPBfAXuwtuk', 'expires_in': 3599, 'token_type': 'bearer', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImxKNmg0WmxhRTdvN2Q1QWUiLCJuYW1lIjoiaXNhbWZlZCB0ZXN0dXNlciIsImlhdCI6MTU2MDc1ODY2OSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Il9fYWc1dnhROWRmZmRiYjlqb1RjNEEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MjA4OSwiYXVkIjoiY2xpZW50SUQifQ.fBQ7MDbgW9l-n0BH8melgb2_cD3ZJXlS6wcs4NtxXiV48MqracNM6UUZWs9ZKPofD69ii9HJXWc3Ni8CVAHTRqmdtwKpd4EPP9yOwBmZnHDCW_kyyhKjaj6GmbLpRt3me6KseSoLP4IqyG9A2FXRdpmO3YLUR1-tlxejx6qEwOJ5bQLTT3erEEmglK2y_pZIrI4aPuSfuOdcnO8UPUze_RTZwyKvwOdWBB-THYqUBHUJ8bjKuIFPXKmg8FoRcHdr11EHIxvR1uzz3drXGIAJ4qAlNsveO5uwLFVrDSef7XZStnw_rsD3mU6INRtuxi8fBmDbfy25WNhDU5BzGtqAjg'}
2AuthorizationResponse
{
    "access_token": "3ulYZ48GfHpdjy9D01Ly",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "__ag5vxQ9dffdbb9joTc4A",
        "aud": [
            "clientID"
        ],
        "exp": 1560762089,
        "iat": 1560758669,
        "iss": "https://isamfed.com:30443/test",
        "name": "isamfed testuser",
        "nonce": "lJ6h4ZlaE7o7d5Ae",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "dNp6sdPBfAXuwtuk",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'dNp6sdPBfAXuwtuk', '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 3ulYZ48GfHpdjy9D01Ly'}}
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