Test Info

Issuerhttps://oidc-test.ergon.ch
Profile[]
Test IDOP-claims-essential
Test descriptionClaims request with essential name claim
Timestamp2020-02-03T16:42:18Z

Conditions


verify-claims: status=WARNING, message=Unexpected claims in response: ['website', 'zoneinfo', 'address', 'birthdate', 'gender', 'profile', 'preferred_username', 'locale', 'middle_name', 'given_name', 'picture', 'updated_at', 'nickname', 'phone_number', 'family_name', '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

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0not expected to doDynamic discovery
0phase<--<-- 2 --- Registration -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "claims": {
        "userinfo": {
            "name": {
                "essential": true
            }
        }
    },
    "client_id": "oidcConformance_clientId",
    "nonce": "rVnwNVIsQzkQmi7x",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "tptroipxeJ8F18Fh"
}
0redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=tptroipxeJ8F18Fh&nonce=rVnwNVIsQzkQmi7x&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=oidcConformance_clientId
0redirecthttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=tptroipxeJ8F18Fh&nonce=rVnwNVIsQzkQmi7x&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=oidcConformance_clientId
2responseResponse URL with query part
2response{'code': 'bWBO8E1kBCWTB5qFnvestjbI-yU~6Xy5en_BN3yktrkmUkwLu7twKJqL-cLsJox_HCfI', 'state': 'tptroipxeJ8F18Fh'}
2response{'code': 'bWBO8E1kBCWTB5qFnvestjbI-yU~6Xy5en_BN3yktrkmUkwLu7twKJqL-cLsJox_HCfI', 'state': 'tptroipxeJ8F18Fh'}
2AuthorizationResponse
{
    "code": "bWBO8E1kBCWTB5qFnvestjbI-yU~6Xy5en_BN3yktrkmUkwLu7twKJqL-cLsJox_HCfI",
    "state": "tptroipxeJ8F18Fh"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'tptroipxeJ8F18Fh'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb', 'code': 'bWBO8E1kBCWTB5qFnvestjbI-yU~6Xy5en_BN3yktrkmUkwLu7twKJqL-cLsJox_HCfI', 'state': 'tptroipxeJ8F18Fh', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'tptroipxeJ8F18Fh', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "bWBO8E1kBCWTB5qFnvestjbI-yU~6Xy5en_BN3yktrkmUkwLu7twKJqL-cLsJox_HCfI",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "tptroipxeJ8F18Fh"
}
2request_urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId
2request_http_args{'headers': {'Authorization': 'Basic b2lkY0NvbmZvcm1hbmNlX2NsaWVudElkOml4MG9vQ2hlX2VlcmUxTXVrX29vamVpOUllX0VpdGhhaTRq', 'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&code=bWBO8E1kBCWTB5qFnvestjbI-yU%7E6Xy5en_BN3yktrkmUkwLu7twKJqL-cLsJox_HCfI&state=tptroipxeJ8F18Fh
2http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
2response{'access_token': 'wuv9wNnlFlzEZbn2uM39Y6EiVL4~e3vQUD5ZE8_VIKm7In3h_Do0D7ZhPHxi02VbEeyy', 'refresh_token': 'hAYKrP4Duadu1J2EPqQtQsHCTwI~dFDMFmeL4fPGX7rXrl5pzPa0yIkG5ksZkjsC0E1k', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ2NzMyLCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ4MjU3LCJpYXQiOjE1ODA3NDgxMzcsIm5vbmNlIjoiclZud05WSXNRemtRbWk3eCJ9.N4iKpIkaGvld64Uc4VxoFPhInkUqD8Jmgl7geZSx8KM', 'token_type': 'bearer', 'expires_in': 179}
3AccessTokenResponse
{
    "access_token": "wuv9wNnlFlzEZbn2uM39Y6EiVL4~e3vQUD5ZE8_VIKm7In3h_Do0D7ZhPHxi02VbEeyy",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580746732,
        "exp": 1580748257,
        "iat": 1580748137,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "rVnwNVIsQzkQmi7x",
        "sub": "mike"
    },
    "refresh_token": "hAYKrP4Duadu1J2EPqQtQsHCTwI~dFDMFmeL4fPGX7rXrl5pzPa0yIkG5ksZkjsC0E1k",
    "token_type": "bearer"
}
3jws header{'typ': 'JWT', 'alg': 'HS256'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'tptroipxeJ8F18Fh', 'method': 'GET', 'authn_method': 'bearer_header'}
3request{'body': None}
3request_urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId/userinfo
3request_http_args{'headers': {'Authorization': 'Bearer wuv9wNnlFlzEZbn2uM39Y6EiVL4~e3vQUD5ZE8_VIKm7In3h_Do0D7ZhPHxi02VbEeyy'}}
3http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId/userinfo status_code:200
3OpenIDSchema
{
    "address": {
        "formatted": "Kleinstrasse 15 \n8032 Zurich"
    },
    "birthdate": "01011970",
    "email": "micdou@ergon.ch",
    "family_name": "Doujak",
    "gender": "male",
    "given_name": "Michael",
    "locale": "EN",
    "middle_name": "middle_name",
    "name": "Doujak Michael",
    "nickname": "nickname",
    "phone_number": "0797127212",
    "picture": "https://www.airlock.com/typo3conf/ext/airlockpackage/Resources/Public/Images/Logos/logo-airlock-black.svg",
    "preferred_username": "$(username)",
    "profile": {
        "family_name": "Doujak",
        "given_name": "Michael"
    },
    "sub": "mike",
    "updated_at": 20190101,
    "website": "https://airlock.com",
    "zoneinfo": "zoneinfo - CET"
}
3OpenIDSchema
{
    "address": {
        "formatted": "Kleinstrasse 15 \n8032 Zurich"
    },
    "birthdate": "01011970",
    "email": "micdou@ergon.ch",
    "family_name": "Doujak",
    "gender": "male",
    "given_name": "Michael",
    "locale": "EN",
    "middle_name": "middle_name",
    "name": "Doujak Michael",
    "nickname": "nickname",
    "phone_number": "0797127212",
    "picture": "https://www.airlock.com/typo3conf/ext/airlockpackage/Resources/Public/Images/Logos/logo-airlock-black.svg",
    "preferred_username": "$(username)",
    "profile": {
        "family_name": "Doujak",
        "given_name": "Michael"
    },
    "sub": "mike",
    "updated_at": 20190101,
    "website": "https://airlock.com",
    "zoneinfo": "zoneinfo - CET"
}
3phase<--<-- 6 --- Done -->-->
3end
3assertionVerifyClaims
3conditionverify-claims: status=WARNING, message=Unexpected claims in response: ['website', 'zoneinfo', 'address', 'birthdate', 'gender', 'profile', 'preferred_username', 'locale', 'middle_name', 'given_name', 'picture', 'updated_at', 'nickname', 'phone_number', 'family_name', 'email'] [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

WARNING
Warnings:
Unexpected claims in response: ['website', 'zoneinfo', 'address', 'birthdate', 'gender', 'profile', 'preferred_username', 'locale', 'middle_name', 'given_name', 'picture', 'updated_at', 'nickname', 'phone_number', 'family_name', 'email']