Test Info

Issuerhttps://oidc-test.ergon.ch
Profile[]
Test IDOP-scope-profile
Test descriptionScope requesting profile claims
Timestamp2020-02-03T16:55:45Z

Conditions


verify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
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
{
    "client_id": "oidcConformance_clientId",
    "nonce": "fU4eEBL9SdoZKf5t",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid profile",
    "state": "oUZfqBVZlYCecbHf"
}
0redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=oUZfqBVZlYCecbHf&nonce=fU4eEBL9SdoZKf5t&response_type=code&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&client_id=oidcConformance_clientId
0redirecthttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=oUZfqBVZlYCecbHf&nonce=fU4eEBL9SdoZKf5t&response_type=code&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&client_id=oidcConformance_clientId
0responseResponse URL with query part
0response{'code': 'GJ1W48znztFj5hHsvyktI7S9wFY~zMAh5wu-wGA4Cpnqhgj_UpF3nPWgoDlTOPpB9_Y4', 'state': 'oUZfqBVZlYCecbHf'}
0response{'code': 'GJ1W48znztFj5hHsvyktI7S9wFY~zMAh5wu-wGA4Cpnqhgj_UpF3nPWgoDlTOPpB9_Y4', 'state': 'oUZfqBVZlYCecbHf'}
0AuthorizationResponse
{
    "code": "GJ1W48znztFj5hHsvyktI7S9wFY~zMAh5wu-wGA4Cpnqhgj_UpF3nPWgoDlTOPpB9_Y4",
    "state": "oUZfqBVZlYCecbHf"
}
0phase<--<-- 4 --- AccessToken -->-->
0requestop_args: {'state': 'oUZfqBVZlYCecbHf'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb'}
0do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb', 'code': 'GJ1W48znztFj5hHsvyktI7S9wFY~zMAh5wu-wGA4Cpnqhgj_UpF3nPWgoDlTOPpB9_Y4', 'state': 'oUZfqBVZlYCecbHf', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'oUZfqBVZlYCecbHf', 'authn_method': 'client_secret_basic'}
0AccessTokenRequest
{
    "code": "GJ1W48znztFj5hHsvyktI7S9wFY~zMAh5wu-wGA4Cpnqhgj_UpF3nPWgoDlTOPpB9_Y4",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "oUZfqBVZlYCecbHf"
}
0request_urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId
0request_http_args{'headers': {'Authorization': 'Basic b2lkY0NvbmZvcm1hbmNlX2NsaWVudElkOml4MG9vQ2hlX2VlcmUxTXVrX29vamVpOUllX0VpdGhhaTRq', 'Content-Type': 'application/x-www-form-urlencoded'}}
0requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&code=GJ1W48znztFj5hHsvyktI7S9wFY%7EzMAh5wu-wGA4Cpnqhgj_UpF3nPWgoDlTOPpB9_Y4&state=oUZfqBVZlYCecbHf
1http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
1response{'access_token': 'uWrQydENxL-n1LUXHMAdiu1a5fY~BbwGdyv0n7BF-dWRZPhjX8zpHtznwkC4F7ZDVodj', 'refresh_token': 'cajiLJl78GwKdV4cefXODFJZpVQ~JjPpjmx_oBNtnoGUBiYbYcBUAiAdURfOBEmb5igF', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ4ODI0LCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ5MDYzLCJpYXQiOjE1ODA3NDg5NDMsIm5vbmNlIjoiZlU0ZUVCTDlTZG9aS2Y1dCJ9.nzMxWwtWvrLY5xfI8td1N5rZBKUAqGglyu620gbJoi0', 'token_type': 'bearer', 'expires_in': 179}
1AccessTokenResponse
{
    "access_token": "uWrQydENxL-n1LUXHMAdiu1a5fY~BbwGdyv0n7BF-dWRZPhjX8zpHtznwkC4F7ZDVodj",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580748824,
        "exp": 1580749063,
        "iat": 1580748943,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "fU4eEBL9SdoZKf5t",
        "sub": "mike"
    },
    "refresh_token": "cajiLJl78GwKdV4cefXODFJZpVQ~JjPpjmx_oBNtnoGUBiYbYcBUAiAdURfOBEmb5igF",
    "token_type": "bearer"
}
1jws header{'typ': 'JWT', 'alg': 'HS256'}
1phase<--<-- 5 --- UserInfo -->-->
1do_user_info_request
kwargs:{'state': 'oUZfqBVZlYCecbHf', 'method': 'GET', 'authn_method': 'bearer_header'}
1request{'body': None}
1request_urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId/userinfo
1request_http_args{'headers': {'Authorization': 'Bearer uWrQydENxL-n1LUXHMAdiu1a5fY~BbwGdyv0n7BF-dWRZPhjX8zpHtznwkC4F7ZDVodj'}}
2http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId/userinfo status_code:200
2OpenIDSchema
{
    "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"
}
2OpenIDSchema
{
    "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"
}
2phase<--<-- 6 --- Done -->-->
2end
2assertionVerifyScopes
2conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
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]
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2conditionDone: status=OK

Result

PASSED