Test Info

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

Conditions


claims-check: status=OK [Checks if specific claims is present or not]
same-authn: status=OK [Verifies that the same authentication was used twice in the flow.]
auth_time-check: status=OK [Check that the auth_time returned in the ID Token is in the expected range.]
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": "wbfzuNdhSFFpbyDr",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "nzv71XjjO6sgRajd"
}
0redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=nzv71XjjO6sgRajd&nonce=wbfzuNdhSFFpbyDr&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=nzv71XjjO6sgRajd&nonce=wbfzuNdhSFFpbyDr&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': 'aIENIIf7XGL9iAVKa0N_EbCZQ-4~mfWc3mHfsUfMqJp-cEKXSQc0Z3pWSuAYiSCJpcxb', 'state': 'nzv71XjjO6sgRajd'}
0response{'code': 'aIENIIf7XGL9iAVKa0N_EbCZQ-4~mfWc3mHfsUfMqJp-cEKXSQc0Z3pWSuAYiSCJpcxb', 'state': 'nzv71XjjO6sgRajd'}
0AuthorizationResponse
{
    "code": "aIENIIf7XGL9iAVKa0N_EbCZQ-4~mfWc3mHfsUfMqJp-cEKXSQc0Z3pWSuAYiSCJpcxb",
    "state": "nzv71XjjO6sgRajd"
}
0phase<--<-- 4 --- AccessToken -->-->
0requestop_args: {'state': 'nzv71XjjO6sgRajd'}, 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': 'aIENIIf7XGL9iAVKa0N_EbCZQ-4~mfWc3mHfsUfMqJp-cEKXSQc0Z3pWSuAYiSCJpcxb', 'state': 'nzv71XjjO6sgRajd', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'nzv71XjjO6sgRajd', 'authn_method': 'client_secret_basic'}
0AccessTokenRequest
{
    "code": "aIENIIf7XGL9iAVKa0N_EbCZQ-4~mfWc3mHfsUfMqJp-cEKXSQc0Z3pWSuAYiSCJpcxb",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "nzv71XjjO6sgRajd"
}
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=aIENIIf7XGL9iAVKa0N_EbCZQ-4%7EmfWc3mHfsUfMqJp-cEKXSQc0Z3pWSuAYiSCJpcxb&state=nzv71XjjO6sgRajd
1http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
1response{'access_token': 'VKkQ77K-hMv97JoBR-YNe6adV10~1X060BgpLmmIQ_yrIqkA9A_peWjClmY7uowN8lpB', 'refresh_token': 'j9ga56hD7a5tJDbI2x0-upzB-zU~YUBrXZTIGqkge-xnfBI3RgoROOMRw4Kd_O09RVpa', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ5MjAxLCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ5MzM4LCJpYXQiOjE1ODA3NDkyMTgsIm5vbmNlIjoid2JmenVOZGhTRkZwYnlEciJ9.H7l-rJQfNzdmFrI-yYFqaL5r-lenOaqJ9jOwrhfk-Y4', 'token_type': 'bearer', 'expires_in': 179}
1AccessTokenResponse
{
    "access_token": "VKkQ77K-hMv97JoBR-YNe6adV10~1X060BgpLmmIQ_yrIqkA9A_peWjClmY7uowN8lpB",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580749201,
        "exp": 1580749338,
        "iat": 1580749218,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "wbfzuNdhSFFpbyDr",
        "sub": "mike"
    },
    "refresh_token": "j9ga56hD7a5tJDbI2x0-upzB-zU~YUBrXZTIGqkge-xnfBI3RgoROOMRw4Kd_O09RVpa",
    "token_type": "bearer"
}
1jws header{'typ': 'JWT', 'alg': 'HS256'}
1phase<--<-- 5 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "oidcConformance_clientId",
    "max_age": 10000,
    "nonce": "BcbkWaACTtHEk3IS",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "gEJQ74TaoHQIWzZP"
}
1redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=gEJQ74TaoHQIWzZP&nonce=BcbkWaACTtHEk3IS&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&max_age=10000&client_id=oidcConformance_clientId
1redirecthttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=gEJQ74TaoHQIWzZP&nonce=BcbkWaACTtHEk3IS&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&max_age=10000&client_id=oidcConformance_clientId
2responseResponse URL with query part
2response{'code': 'Rgf1vKlknZcA8yyrLjpWQrteeLA~SL7jIAjuWp7xHIcqoE2tZAKO9GCcXGIeo3obsMmj', 'state': 'gEJQ74TaoHQIWzZP'}
2response{'code': 'Rgf1vKlknZcA8yyrLjpWQrteeLA~SL7jIAjuWp7xHIcqoE2tZAKO9GCcXGIeo3obsMmj', 'state': 'gEJQ74TaoHQIWzZP'}
2AuthorizationResponse
{
    "code": "Rgf1vKlknZcA8yyrLjpWQrteeLA~SL7jIAjuWp7xHIcqoE2tZAKO9GCcXGIeo3obsMmj",
    "state": "gEJQ74TaoHQIWzZP"
}
2phase<--<-- 6 --- AccessToken -->-->
2requestop_args: {'state': 'gEJQ74TaoHQIWzZP'}, 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': 'Rgf1vKlknZcA8yyrLjpWQrteeLA~SL7jIAjuWp7xHIcqoE2tZAKO9GCcXGIeo3obsMmj', 'state': 'gEJQ74TaoHQIWzZP', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'gEJQ74TaoHQIWzZP', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "Rgf1vKlknZcA8yyrLjpWQrteeLA~SL7jIAjuWp7xHIcqoE2tZAKO9GCcXGIeo3obsMmj",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "gEJQ74TaoHQIWzZP"
}
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=Rgf1vKlknZcA8yyrLjpWQrteeLA%7ESL7jIAjuWp7xHIcqoE2tZAKO9GCcXGIeo3obsMmj&state=gEJQ74TaoHQIWzZP
2http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
2response{'access_token': '33bCV-YnfTG6ypYa8TojqtLis3E~tohdrsKxS8-gvRVlLdbdM5dEyFmWDDu5jb_jRd7R', 'refresh_token': 'g6jRofFrJgPGSowkCshgf1Ja5po~duzccdRRyMNus1j8YF_MHzyTtDJipSN5sJkom22v', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ5MjAxLCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ5MzM5LCJpYXQiOjE1ODA3NDkyMTksIm5vbmNlIjoiQmNia1dhQUNUdEhFazNJUyJ9.JBaM_RPkud6_AQDEvTX9DbvBzwNNVL4jeiwY5_oOiPs', 'token_type': 'bearer', 'expires_in': 179}
2AccessTokenResponse
{
    "access_token": "33bCV-YnfTG6ypYa8TojqtLis3E~tohdrsKxS8-gvRVlLdbdM5dEyFmWDDu5jb_jRd7R",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580749201,
        "exp": 1580749339,
        "iat": 1580749219,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "BcbkWaACTtHEk3IS",
        "sub": "mike"
    },
    "refresh_token": "g6jRofFrJgPGSowkCshgf1Ja5po~duzccdRRyMNus1j8YF_MHzyTtDJipSN5sJkom22v",
    "token_type": "bearer"
}
2jws header{'typ': 'JWT', 'alg': 'HS256'}
2phase<--<-- 7 --- Done -->-->
2end
2assertionClaimsCheck
2conditionclaims-check: status=OK [Checks if specific claims is present or not]
2assertionSameAuthn
2conditionsame-authn: status=OK [Verifies that the same authentication was used twice in the flow.]
2assertionAuthTimeCheck
2conditionauth_time-check: status=OK [Check that the auth_time returned in the ID Token is in the expected range.]
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