Test Info

Test descriptionClaims request with essential name claim
Profile[]
Test IDOP-claims-essential
Timestamp2017-12-18T20:59:50Z
Issuerhttps://oidctest.idautoengineering.net/idp

Conditions


verify-claims: status=WARNING, message=Unexpected claims in response: ['given_name', 'family_name', 'email_verified', 'email'] [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

0.0phase<--<-- 0 --- Webfinger -->-->
0.0not expected to doWebFinger
0.0phase<--<-- 1 --- Discovery -->-->
0.0provider_config
kwargs:{'issuer': 'https://oidctest.idautoengineering.net/idp'}
0.024http response
url:https://oidctest.idautoengineering.net/idp/.well-known/openid-configuration status_code:200
0.026ProviderConfigurationResponse
{
    "authorization_endpoint": "https://oidctest.idautoengineering.net/idp/profile/oidc/auth",
    "claim_types_supported": [
        "normal"
    ],
    "claims_parameter_supported": false,
    "claims_supported": [
        "sub",
        "name",
        "given_name",
        "family_name",
        "email"
    ],
    "display_values_supported": [
        "page"
    ],
    "grant_types_supported": [
        "authorization_code"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "issuer": "https://oidctest.idautoengineering.net/idp",
    "jwks_uri": "https://oidctest.idautoengineering.net/idp/profile/oidc/jwks",
    "request_parameter_supported": false,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": true,
    "response_modes_supported": [
        "query"
    ],
    "response_types_supported": [
        "code",
        "token",
        "id_token"
    ],
    "scopes_supported": [
        "openid"
    ],
    "subject_types_supported": [
        "public"
    ],
    "token_endpoint": "https://oidctest.idautoengineering.net/idp/profile/oidc/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_post",
        "client_secret_basic"
    ],
    "userinfo_endpoint": "https://oidctest.idautoengineering.net/idp/profile/oidc/userinfo",
    "userinfo_signing_alg_values_supported": [
        "RS256"
    ],
    "version": "3.0"
}
0.026phase<--<-- 2 --- Registration -->-->
0.026not expected to doDynamic registration
0.026phase<--<-- 3 --- AsyncAuthn -->-->
0.027AuthorizationRequest
{
    "claims": {
        "userinfo": {
            "name": {
                "essential": true
            }
        }
    },
    "client_id": "3000badf0c55d2cae7c22b3d63e3f667",
    "nonce": "nmwMVRw8raGSyhA3",
    "redirect_uri": "https://op.certification.openid.net:60992/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "z1tlHdrrXdGqrZH7"
}
0.027redirect urlhttps://oidctest.idautoengineering.net/idp/profile/oidc/auth?scope=openid&nonce=nmwMVRw8raGSyhA3&state=z1tlHdrrXdGqrZH7&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&response_type=code&client_id=3000badf0c55d2cae7c22b3d63e3f667&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60992%2Fauthz_cb
0.027redirecthttps://oidctest.idautoengineering.net/idp/profile/oidc/auth?scope=openid&nonce=nmwMVRw8raGSyhA3&state=z1tlHdrrXdGqrZH7&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&response_type=code&client_id=3000badf0c55d2cae7c22b3d63e3f667&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60992%2Fauthz_cb
0.301response{'code': '0Iq53QbzUhL9GNkxP1xN62.msFawZ18-h-2MLVhyDtvtb8hn.v', 'state': 'z1tlHdrrXdGqrZH7'}
0.301response{'code': '0Iq53QbzUhL9GNkxP1xN62.msFawZ18-h-2MLVhyDtvtb8hn.v', 'state': 'z1tlHdrrXdGqrZH7'}
0.301AuthorizationResponse
{
    "code": "0Iq53QbzUhL9GNkxP1xN62.msFawZ18-h-2MLVhyDtvtb8hn.v",
    "state": "z1tlHdrrXdGqrZH7"
}
0.301phase<--<-- 4 --- AccessToken -->-->
0.301requestop_args: {'state': 'z1tlHdrrXdGqrZH7'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60992/authz_cb'}
0.301do_access_token_request
kwargs:{'request_args': {'code': '0Iq53QbzUhL9GNkxP1xN62.msFawZ18-h-2MLVhyDtvtb8hn.v', 'state': 'z1tlHdrrXdGqrZH7', 'grant_type': 'authorization_code', 'client_id': '3000badf0c55d2cae7c22b3d63e3f667', 'redirect_uri': 'https://op.certification.openid.net:60992/authz_cb'}, 'state': 'z1tlHdrrXdGqrZH7'}
0.302AccessTokenRequest
{
    "client_id": "3000badf0c55d2cae7c22b3d63e3f667",
    "code": "0Iq53QbzUhL9GNkxP1xN62.msFawZ18-h-2MLVhyDtvtb8hn.v",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60992/authz_cb",
    "state": "z1tlHdrrXdGqrZH7"
}
0.302request_urlhttps://oidctest.idautoengineering.net/idp/profile/oidc/token
0.302request_http_args{'headers': {'Authorization': 'Basic MzAwMGJhZGYwYzU1ZDJjYWU3YzIyYjNkNjNlM2Y2Njc6ODY5N2E4OTlhYzFjNzYwODAyNmM4ZDEzN2E1YzMzYTAwM2RlMDA1MDc2MzBmMmQ2OGM5NTNlMTNkNzVlNjFiYg==', 'Content-Type': 'application/x-www-form-urlencoded'}}
0.302requestclient_id=3000badf0c55d2cae7c22b3d63e3f667&state=z1tlHdrrXdGqrZH7&code=0Iq53QbzUhL9GNkxP1xN62.msFawZ18-h-2MLVhyDtvtb8hn.v&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60992%2Fauthz_cb
0.338http response
url:https://oidctest.idautoengineering.net/idp/profile/oidc/token status_code:200
0.339response{'refresh_token': 'xcHMjYx//yLg7kUP70zkt2ZN7hVVuF_+xN/gWdJwxR3NsH/jJ.', 'expires_in': 32399, 'scope': 'openid', 'access_token': 'wY+AOeK3xKj_tQa6Hmf.XdMePtTUUOn2nhqEbz1_Ew_AhW-bab', 'id_token': 'eyJraWQiOiI2NTJlNjk1N2UxNzNmYzYxOTYxN2ZhMjNjMzZjYmFjNTRhNWZhNzhlNjBiNzA2Mjg5NmI2ZDgzNTdkNDVhOWYxIiwiYWxnIjoiUlMyNTYifQ.eyJpYXQiOjE1MTM2MzA3OTAsImV4cCI6MTUxMzYzMDg1MCwiaXNzIjoiaHR0cHM6Ly9vaWRjdGVzdC5pZGF1dG9lbmdpbmVlcmluZy5uZXQvaWRwIiwiYXVkIjoiMzAwMGJhZGYwYzU1ZDJjYWU3YzIyYjNkNjNlM2Y2NjciLCJzdWIiOiIyNjIwMjdhMC1hZjc3LTExZTctODc2ZC0wMjc0MGM1NDljY2EiLCJhdXRoX3RpbWUiOjE1MTM2MzAzNDgsIm5vbmNlIjoibm13TVZSdzhyYUdTeWhBMyIsImF6cCI6IjMwMDBiYWRmMGM1NWQyY2FlN2MyMmIzZDYzZTNmNjY3IiwibmFtZSI6IlN5c3RlbSBBZG1pbiIsImdpdmVuX25hbWUiOiJTeXN0ZW0iLCJmYW1pbHlfbmFtZSI6IkFkbWluIiwiZW1haWwiOiJqYmVsbGFzc2FpQGlkZW50aXR5YXV0b21hdGlvbi5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiYXRfaGFzaCI6Ik1sZGlheDgyYThDMlhSbkh2aUg0X2c9PSJ9.KaS9c--2nHQyf1Ty-FDUbasQyvzvQjk2cTUZFY1wnQEaOWmS74l1nYqX328Almgoob6NkYlYt4I3hlHBKhUn1tSexDTwtBsDWJcEmmBzeGNZS_7BJOa3BsnjtrWpPeGLem5mzA1Q01UuMRr-1GTHJvxujlety0ToPegaqiRG3kSObbll1k8FfmodEUO53uGsVde1EKNe-y7g6RW8MNVcqBxwUDC2VRdNF-Fu2lMkUsCDnXMhkb2SM-LiVw2A4v2xLa-xwmCo7a8RJuGvM_g-p7MqH_HUURnWBdhVng9C_M7UDFTp6A9I_wty13RRae294r1Moj1qS0Rxl5fa47Iysw', 'token_type': 'Bearer'}
0.364AccessTokenResponse
{
    "access_token": "wY+AOeK3xKj_tQa6Hmf.XdMePtTUUOn2nhqEbz1_Ew_AhW-bab",
    "expires_in": 32399,
    "id_token": {
        "at_hash": "Mldiax82a8C2XRnHviH4_g==",
        "aud": [
            "3000badf0c55d2cae7c22b3d63e3f667"
        ],
        "auth_time": 1513630348,
        "azp": "3000badf0c55d2cae7c22b3d63e3f667",
        "email": "jbellassai@identityautomation.com",
        "email_verified": true,
        "exp": 1513630850,
        "family_name": "Admin",
        "given_name": "System",
        "iat": 1513630790,
        "iss": "https://oidctest.idautoengineering.net/idp",
        "name": "System Admin",
        "nonce": "nmwMVRw8raGSyhA3",
        "sub": "262027a0-af77-11e7-876d-02740c549cca"
    },
    "refresh_token": "xcHMjYx//yLg7kUP70zkt2ZN7hVVuF_+xN/gWdJwxR3NsH/jJ.",
    "scope": "openid",
    "token_type": "Bearer"
}
0.365phase<--<-- 5 --- UserInfo -->-->
0.365do_user_info_request
kwargs:{'method': 'GET', 'authn_method': 'bearer_header', 'state': 'z1tlHdrrXdGqrZH7'}
0.365request{'body': None}
0.365request_urlhttps://oidctest.idautoengineering.net/idp/profile/oidc/userinfo
0.365request_http_args{'headers': {'Authorization': 'Bearer wY+AOeK3xKj_tQa6Hmf.XdMePtTUUOn2nhqEbz1_Ew_AhW-bab'}}
0.393http response
url:https://oidctest.idautoengineering.net/idp/profile/oidc/userinfo status_code:200
0.396OpenIDSchema
{
    "email": "jbellassai@identityautomation.com",
    "email_verified": true,
    "family_name": "Admin",
    "given_name": "System",
    "name": "System Admin",
    "sub": "262027a0-af77-11e7-876d-02740c549cca"
}
0.396OpenIDSchema
{
    "email": "jbellassai@identityautomation.com",
    "email_verified": true,
    "family_name": "Admin",
    "given_name": "System",
    "name": "System Admin",
    "sub": "262027a0-af77-11e7-876d-02740c549cca"
}
0.396phase<--<-- 6 --- Done -->-->
0.396end
0.396assertionVerifyClaims
0.397conditionverify-claims: status=WARNING, message=Unexpected claims in response: ['given_name', 'family_name', 'email_verified', 'email'] [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for]
0.397assertionCheckHTTPResponse
0.397conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
0.397conditionDone: status=OK

Result

WARNING
Warnings:
Unexpected claims in response: ['given_name', 'family_name', 'email_verified', 'email']