Test Info

Issuerhttps://oidc-test.ergon.ch
Profile[]
Test IDOP-IDToken-kid
Test descriptionIDToken has kid [Basic, Implicit, Hybrid]
Timestamp2020-02-03T16:15:11Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
verify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
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": "joFRfDlpOncR0Vgx",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "vOHWVQNnSUfBq7jM"
}
0redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=vOHWVQNnSUfBq7jM&nonce=joFRfDlpOncR0Vgx&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=vOHWVQNnSUfBq7jM&nonce=joFRfDlpOncR0Vgx&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&client_id=oidcConformance_clientId
3responseResponse URL with query part
3response{'code': 'Wwj4V77FLf-lj3c4GEU6-tHTbqo~Fd8LCrfpcxwvr9AOQdo5MnQZvbI3lNqnKQ47v6yQ', 'state': 'vOHWVQNnSUfBq7jM'}
3response{'code': 'Wwj4V77FLf-lj3c4GEU6-tHTbqo~Fd8LCrfpcxwvr9AOQdo5MnQZvbI3lNqnKQ47v6yQ', 'state': 'vOHWVQNnSUfBq7jM'}
3AuthorizationResponse
{
    "code": "Wwj4V77FLf-lj3c4GEU6-tHTbqo~Fd8LCrfpcxwvr9AOQdo5MnQZvbI3lNqnKQ47v6yQ",
    "state": "vOHWVQNnSUfBq7jM"
}
3phase<--<-- 4 --- AccessToken -->-->
3requestop_args: {'state': 'vOHWVQNnSUfBq7jM'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb'}
3do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb', 'code': 'Wwj4V77FLf-lj3c4GEU6-tHTbqo~Fd8LCrfpcxwvr9AOQdo5MnQZvbI3lNqnKQ47v6yQ', 'state': 'vOHWVQNnSUfBq7jM', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'vOHWVQNnSUfBq7jM', 'authn_method': 'client_secret_basic'}
3AccessTokenRequest
{
    "code": "Wwj4V77FLf-lj3c4GEU6-tHTbqo~Fd8LCrfpcxwvr9AOQdo5MnQZvbI3lNqnKQ47v6yQ",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "vOHWVQNnSUfBq7jM"
}
3request_urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId
3request_http_args{'headers': {'Authorization': 'Basic b2lkY0NvbmZvcm1hbmNlX2NsaWVudElkOml4MG9vQ2hlX2VlcmUxTXVrX29vamVpOUllX0VpdGhhaTRq', 'Content-Type': 'application/x-www-form-urlencoded'}}
3requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&code=Wwj4V77FLf-lj3c4GEU6-tHTbqo%7EFd8LCrfpcxwvr9AOQdo5MnQZvbI3lNqnKQ47v6yQ&state=vOHWVQNnSUfBq7jM
3http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
3response{'access_token': 'nKBRaVhWzAbqJhn8-97OZtPC-dY~ldl_29726tcGLXCHa3ntFgv1xEriAIe7JGRiOCwu', 'refresh_token': 'x8gs67zyW-yBJvqw-hOIrfcZ-YM~nNEJ5qlCl3JS6uuz-vic4soY1gthx52oiljc0Qpb', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ2NDMzLCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ2NjI5LCJpYXQiOjE1ODA3NDY1MDksIm5vbmNlIjoiam9GUmZEbHBPbmNSMFZneCJ9.fwi_VIq5L2st7YIjJnNnxayla3lSTBfVZytjBfxE5BY', 'token_type': 'bearer', 'expires_in': 179}
4AccessTokenResponse
{
    "access_token": "nKBRaVhWzAbqJhn8-97OZtPC-dY~ldl_29726tcGLXCHa3ntFgv1xEriAIe7JGRiOCwu",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580746433,
        "exp": 1580746629,
        "iat": 1580746509,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "joFRfDlpOncR0Vgx",
        "sub": "mike"
    },
    "refresh_token": "x8gs67zyW-yBJvqw-hOIrfcZ-YM~nNEJ5qlCl3JS6uuz-vic4soY1gthx52oiljc0Qpb",
    "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]
4assertionVerifySignedIdTokenHasKID
4conditionverify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
4conditionDone: status=OK

Result

PASSED