Test Info

Issuerhttps://oidc-test.ergon.ch
Profile[]
Test IDOP-IDToken-C-Signature
Test descriptionDoes the OP sign the ID Token and with what
Timestamp2020-02-03T16:14:30Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
is-idtoken-signed: status=OK [Checks if the id_token is signed]
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": "wzt6gjb5UktGQuya",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "Nz5EWNEo8HEc3fHU"
}
0redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=Nz5EWNEo8HEc3fHU&nonce=wzt6gjb5UktGQuya&response_type=code&scope=openid&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=Nz5EWNEo8HEc3fHU&nonce=wzt6gjb5UktGQuya&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&client_id=oidcConformance_clientId
2responseResponse URL with query part
2response{'code': 'a1yXcSpw7geMez2WWJa-pKu-2as~I5XpypkXbJGrjidFV3ocd-1fBdx13_N0_h313qmT', 'state': 'Nz5EWNEo8HEc3fHU'}
2response{'code': 'a1yXcSpw7geMez2WWJa-pKu-2as~I5XpypkXbJGrjidFV3ocd-1fBdx13_N0_h313qmT', 'state': 'Nz5EWNEo8HEc3fHU'}
2AuthorizationResponse
{
    "code": "a1yXcSpw7geMez2WWJa-pKu-2as~I5XpypkXbJGrjidFV3ocd-1fBdx13_N0_h313qmT",
    "state": "Nz5EWNEo8HEc3fHU"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'Nz5EWNEo8HEc3fHU'}, 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': 'a1yXcSpw7geMez2WWJa-pKu-2as~I5XpypkXbJGrjidFV3ocd-1fBdx13_N0_h313qmT', 'state': 'Nz5EWNEo8HEc3fHU', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'Nz5EWNEo8HEc3fHU', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "a1yXcSpw7geMez2WWJa-pKu-2as~I5XpypkXbJGrjidFV3ocd-1fBdx13_N0_h313qmT",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "Nz5EWNEo8HEc3fHU"
}
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=a1yXcSpw7geMez2WWJa-pKu-2as%7EI5XpypkXbJGrjidFV3ocd-1fBdx13_N0_h313qmT&state=Nz5EWNEo8HEc3fHU
3http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
3response{'access_token': 'lvkA-0GhHCWagQUhGe0MkTQBbGc~8hARmjPBKffOA4rFx1zWiKjBNiO_G1hkr_1uN9KB', 'refresh_token': 'XnrPH-5hSTMGe0AqWxZGuweo2SA~n7-d3az8j83aJCM_WoO38hpEqtQ3pFdAhfUPazzY', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ2NDMzLCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ2NTg4LCJpYXQiOjE1ODA3NDY0NjgsIm5vbmNlIjoid3p0NmdqYjVVa3RHUXV5YSJ9.Uwsh3LohtFw71nGQ0gA6GDrdl-DOxsdfbwsJg3n71_w', 'token_type': 'bearer', 'expires_in': 179}
4AccessTokenResponse
{
    "access_token": "lvkA-0GhHCWagQUhGe0MkTQBbGc~8hARmjPBKffOA4rFx1zWiKjBNiO_G1hkr_1uN9KB",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580746433,
        "exp": 1580746588,
        "iat": 1580746468,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "wzt6gjb5UktGQuya",
        "sub": "mike"
    },
    "refresh_token": "XnrPH-5hSTMGe0AqWxZGuweo2SA~n7-d3az8j83aJCM_WoO38hpEqtQ3pFdAhfUPazzY",
    "token_type": "bearer"
}
4jws header{'typ': 'JWT', 'alg': 'HS256'}
4phase<--<-- 5 --- Done -->-->
4end
4assertionVerifyResponse
4conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
4assertionIsIDTokenSigned
4conditionis-idtoken-signed: status=OK [Checks if the id_token is signed]
4conditionDone: status=OK

Result

PASSED