Test Info

Issuerhttps://oidc-test.ergon.ch
Profile[]
Test IDOP-Req-max_age=1
Test descriptionRequesting ID Token with max_age=1 seconds restriction
Timestamp2020-02-03T17:00:02Z

Conditions


claims-check: status=OK [Checks if specific claims is present or not]
auth_time-check: status=OK [Check that the auth_time returned in the ID Token is in the expected range.]
multiple-sign-on: status=OK [Verifies that multiple authentications was used in the flow]
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": "peKvuSOQyBvufjOi",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "OtwbwFmhdPPmewhI"
}
0redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=OtwbwFmhdPPmewhI&nonce=peKvuSOQyBvufjOi&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=OtwbwFmhdPPmewhI&nonce=peKvuSOQyBvufjOi&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&client_id=oidcConformance_clientId
0responseResponse URL with query part
0response{'code': 'ZZUntWOR6cK4YJa6jVrV46hSmSk~DSuvY3pEMimq1h6QIoleDfwM3IszJElM5V3dBeqX', 'state': 'OtwbwFmhdPPmewhI'}
0response{'code': 'ZZUntWOR6cK4YJa6jVrV46hSmSk~DSuvY3pEMimq1h6QIoleDfwM3IszJElM5V3dBeqX', 'state': 'OtwbwFmhdPPmewhI'}
0AuthorizationResponse
{
    "code": "ZZUntWOR6cK4YJa6jVrV46hSmSk~DSuvY3pEMimq1h6QIoleDfwM3IszJElM5V3dBeqX",
    "state": "OtwbwFmhdPPmewhI"
}
0phase<--<-- 4 --- AccessToken -->-->
0requestop_args: {'state': 'OtwbwFmhdPPmewhI'}, 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': 'ZZUntWOR6cK4YJa6jVrV46hSmSk~DSuvY3pEMimq1h6QIoleDfwM3IszJElM5V3dBeqX', 'state': 'OtwbwFmhdPPmewhI', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'OtwbwFmhdPPmewhI', 'authn_method': 'client_secret_basic'}
0AccessTokenRequest
{
    "code": "ZZUntWOR6cK4YJa6jVrV46hSmSk~DSuvY3pEMimq1h6QIoleDfwM3IszJElM5V3dBeqX",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "OtwbwFmhdPPmewhI"
}
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=ZZUntWOR6cK4YJa6jVrV46hSmSk%7EDSuvY3pEMimq1h6QIoleDfwM3IszJElM5V3dBeqX&state=OtwbwFmhdPPmewhI
1http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
1response{'access_token': 'X3y9BaXrHJAMPUxYHvA0qdx75Tg~SqKXq4jzcw9SKYW1-WrLv3yqjN-p60552r745M8s', 'refresh_token': 'qi1X4uc4yxIlDAEavwNwKK4n4Gc~76RrlynnvU-7_4fL0TxgiF9vvZKAvTOpYYkYwurH', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ5MTY4LCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ5Mjk4LCJpYXQiOjE1ODA3NDkxNzgsIm5vbmNlIjoicGVLdnVTT1F5QnZ1ZmpPaSJ9.4ct1UzmCOBGEpRDNunM2lwbzQML3-McYWsKYn8GduqM', 'token_type': 'bearer', 'expires_in': 179}
1AccessTokenResponse
{
    "access_token": "X3y9BaXrHJAMPUxYHvA0qdx75Tg~SqKXq4jzcw9SKYW1-WrLv3yqjN-p60552r745M8s",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580749168,
        "exp": 1580749298,
        "iat": 1580749178,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "peKvuSOQyBvufjOi",
        "sub": "mike"
    },
    "refresh_token": "qi1X4uc4yxIlDAEavwNwKK4n4Gc~76RrlynnvU-7_4fL0TxgiF9vvZKAvTOpYYkYwurH",
    "token_type": "bearer"
}
1jws header{'typ': 'JWT', 'alg': 'HS256'}
1phase<--<-- 5 --- Note -->-->
5phase<--<-- 6 --- Webfinger -->-->
5not expected to doWebFinger
5phase<--<-- 7 --- Discovery -->-->
5not expected to doDynamic discovery
5phase<--<-- 8 --- Registration -->-->
5not expected to doDynamic registration
5phase<--<-- 9 --- AsyncAuthn -->-->
5AuthorizationRequest
{
    "client_id": "oidcConformance_clientId",
    "max_age": 1,
    "nonce": "3EewO0QUtY4luUHs",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "wJeQYa1uHES2DulT"
}
5redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=wJeQYa1uHES2DulT&nonce=3EewO0QUtY4luUHs&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&max_age=1&client_id=oidcConformance_clientId
5redirecthttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=wJeQYa1uHES2DulT&nonce=3EewO0QUtY4luUHs&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&max_age=1&client_id=oidcConformance_clientId
23responseResponse URL with query part
23response{'code': 'MgjofB-jScAsgPb5zLyEmb93XfA~166ObfQR0gASuyfI2vs-9_13A2IMEpy9KEGxLUGv', 'state': 'wJeQYa1uHES2DulT'}
23response{'code': 'MgjofB-jScAsgPb5zLyEmb93XfA~166ObfQR0gASuyfI2vs-9_13A2IMEpy9KEGxLUGv', 'state': 'wJeQYa1uHES2DulT'}
23AuthorizationResponse
{
    "code": "MgjofB-jScAsgPb5zLyEmb93XfA~166ObfQR0gASuyfI2vs-9_13A2IMEpy9KEGxLUGv",
    "state": "wJeQYa1uHES2DulT"
}
23phase<--<-- 10 --- AccessToken -->-->
23requestop_args: {'state': 'wJeQYa1uHES2DulT'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb'}
23do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb', 'code': 'MgjofB-jScAsgPb5zLyEmb93XfA~166ObfQR0gASuyfI2vs-9_13A2IMEpy9KEGxLUGv', 'state': 'wJeQYa1uHES2DulT', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'wJeQYa1uHES2DulT', 'authn_method': 'client_secret_basic'}
23AccessTokenRequest
{
    "code": "MgjofB-jScAsgPb5zLyEmb93XfA~166ObfQR0gASuyfI2vs-9_13A2IMEpy9KEGxLUGv",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "wJeQYa1uHES2DulT"
}
23request_urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId
23request_http_args{'headers': {'Authorization': 'Basic b2lkY0NvbmZvcm1hbmNlX2NsaWVudElkOml4MG9vQ2hlX2VlcmUxTXVrX29vamVpOUllX0VpdGhhaTRq', 'Content-Type': 'application/x-www-form-urlencoded'}}
23requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&code=MgjofB-jScAsgPb5zLyEmb93XfA%7E166ObfQR0gASuyfI2vs-9_13A2IMEpy9KEGxLUGv&state=wJeQYa1uHES2DulT
24http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
24response{'access_token': 'lYRNULi-_xoyyGUt7hC4tZQj1Lg~9Qs-sWJXjn-P4ZLT3vhmde1xjdIGML9s6F4kkxmc', 'refresh_token': 'zAhcTQ6aD6kW1Lz_C-8zZ6NDPVE~3d4wZiXuN1PC55kprdvaAfSyCZBgW2QDhCkPhtQM', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ5MjAxLCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ5MzIxLCJpYXQiOjE1ODA3NDkyMDEsIm5vbmNlIjoiM0Vld08wUVV0WTRsdVVIcyJ9.LTOU2-4EX3qM0LZsLMafQNd_357So-1Xew1xUFXPDn4', 'token_type': 'bearer', 'expires_in': 179}
24AccessTokenResponse
{
    "access_token": "lYRNULi-_xoyyGUt7hC4tZQj1Lg~9Qs-sWJXjn-P4ZLT3vhmde1xjdIGML9s6F4kkxmc",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580749201,
        "exp": 1580749321,
        "iat": 1580749201,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "3EewO0QUtY4luUHs",
        "sub": "mike"
    },
    "refresh_token": "zAhcTQ6aD6kW1Lz_C-8zZ6NDPVE~3d4wZiXuN1PC55kprdvaAfSyCZBgW2QDhCkPhtQM",
    "token_type": "bearer"
}
24jws header{'typ': 'JWT', 'alg': 'HS256'}
24phase<--<-- 11 --- Done -->-->
24end
24assertionClaimsCheck
24conditionclaims-check: status=OK [Checks if specific claims is present or not]
24assertionAuthTimeCheck
24conditionauth_time-check: status=OK [Check that the auth_time returned in the ID Token is in the expected range.]
24assertionMultipleSignOn
24conditionmultiple-sign-on: status=OK [Verifies that multiple authentications was used in the flow]
24assertionVerifyResponse
24conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
24conditionDone: status=OK

Result

PASSED