Test Info

Issuerhttps://oidc-test.ergon.ch
Profile[]
Test IDOP-Req-id_token_hint
Test descriptionUsing prompt=none with user hint through id_token_hint
Timestamp2020-02-03T16:57:23Z

Conditions


same-authn: status=OK [Verifies that the same authentication was used twice 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": "57tSYbvfib70eG6A",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "lJVpeKG4Iw6MFMZi"
}
0redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=lJVpeKG4Iw6MFMZi&nonce=57tSYbvfib70eG6A&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=lJVpeKG4Iw6MFMZi&nonce=57tSYbvfib70eG6A&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&client_id=oidcConformance_clientId
1responseResponse URL with query part
1response{'code': 'oJ30wBaaVTs4jfsK_5mkNeUmieU~3rpN0KGAbWLTyzNNLgwEICvWk-iMurujcQjQQ611', 'state': 'lJVpeKG4Iw6MFMZi'}
1response{'code': 'oJ30wBaaVTs4jfsK_5mkNeUmieU~3rpN0KGAbWLTyzNNLgwEICvWk-iMurujcQjQQ611', 'state': 'lJVpeKG4Iw6MFMZi'}
1AuthorizationResponse
{
    "code": "oJ30wBaaVTs4jfsK_5mkNeUmieU~3rpN0KGAbWLTyzNNLgwEICvWk-iMurujcQjQQ611",
    "state": "lJVpeKG4Iw6MFMZi"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'lJVpeKG4Iw6MFMZi'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb', 'code': 'oJ30wBaaVTs4jfsK_5mkNeUmieU~3rpN0KGAbWLTyzNNLgwEICvWk-iMurujcQjQQ611', 'state': 'lJVpeKG4Iw6MFMZi', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'lJVpeKG4Iw6MFMZi', 'authn_method': 'client_secret_basic'}
1AccessTokenRequest
{
    "code": "oJ30wBaaVTs4jfsK_5mkNeUmieU~3rpN0KGAbWLTyzNNLgwEICvWk-iMurujcQjQQ611",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "lJVpeKG4Iw6MFMZi"
}
1request_urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId
1request_http_args{'headers': {'Authorization': 'Basic b2lkY0NvbmZvcm1hbmNlX2NsaWVudElkOml4MG9vQ2hlX2VlcmUxTXVrX29vamVpOUllX0VpdGhhaTRq', 'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&code=oJ30wBaaVTs4jfsK_5mkNeUmieU%7E3rpN0KGAbWLTyzNNLgwEICvWk-iMurujcQjQQ611&state=lJVpeKG4Iw6MFMZi
1http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
1response{'access_token': 'WChl-cskFqVxPn4yp6DdIMX7Q7M~OR-V38quyMBHcjOaxy38NBBwvHn02LfgAuxCy87c', 'refresh_token': 'g9-h6V_UGDbwjvFxliN3Gp0VXfM~Xo47TkGKHL-B7TuehcIGtca2InceDlFP6I3rEk-x', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ4ODI0LCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ5MTYxLCJpYXQiOjE1ODA3NDkwNDEsIm5vbmNlIjoiNTd0U1lidmZpYjcwZUc2QSJ9.jaK_pHhSXlJLGcbU2BEPGMxOGuWS-j7ZZA3JG4bTpuY', 'token_type': 'bearer', 'expires_in': 179}
2AccessTokenResponse
{
    "access_token": "WChl-cskFqVxPn4yp6DdIMX7Q7M~OR-V38quyMBHcjOaxy38NBBwvHn02LfgAuxCy87c",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580748824,
        "exp": 1580749161,
        "iat": 1580749041,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "57tSYbvfib70eG6A",
        "sub": "mike"
    },
    "refresh_token": "g9-h6V_UGDbwjvFxliN3Gp0VXfM~Xo47TkGKHL-B7TuehcIGtca2InceDlFP6I3rEk-x",
    "token_type": "bearer"
}
2jws header{'typ': 'JWT', 'alg': 'HS256'}
2phase<--<-- 5 --- AsyncAuthn -->-->
2AuthorizationRequest
{
    "client_id": "oidcConformance_clientId",
    "id_token_hint": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ4ODI0LCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ5MTYxLCJpYXQiOjE1ODA3NDkwNDEsIm5vbmNlIjoiNTd0U1lidmZpYjcwZUc2QSJ9.jaK_pHhSXlJLGcbU2BEPGMxOGuWS-j7ZZA3JG4bTpuY",
    "nonce": "LAkAehxQofiHUp83",
    "prompt": [
        "none"
    ],
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "IdXvNVV9k9I4jNWk"
}
2redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=IdXvNVV9k9I4jNWk&nonce=LAkAehxQofiHUp83&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&prompt=none&id_token_hint=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ4ODI0LCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ5MTYxLCJpYXQiOjE1ODA3NDkwNDEsIm5vbmNlIjoiNTd0U1lidmZpYjcwZUc2QSJ9.jaK_pHhSXlJLGcbU2BEPGMxOGuWS-j7ZZA3JG4bTpuY&client_id=oidcConformance_clientId
2redirecthttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=IdXvNVV9k9I4jNWk&nonce=LAkAehxQofiHUp83&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&prompt=none&id_token_hint=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ4ODI0LCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ5MTYxLCJpYXQiOjE1ODA3NDkwNDEsIm5vbmNlIjoiNTd0U1lidmZpYjcwZUc2QSJ9.jaK_pHhSXlJLGcbU2BEPGMxOGuWS-j7ZZA3JG4bTpuY&client_id=oidcConformance_clientId
2responseResponse URL with query part
2response{'code': '12JCCTf9S_a3kaE9c_nKoElFquE~44Ux-uz6pzDeguzq-hVDkBXJGKqsXy0ZgeJ17lkj', 'state': 'IdXvNVV9k9I4jNWk'}
2response{'code': '12JCCTf9S_a3kaE9c_nKoElFquE~44Ux-uz6pzDeguzq-hVDkBXJGKqsXy0ZgeJ17lkj', 'state': 'IdXvNVV9k9I4jNWk'}
2AuthorizationResponse
{
    "code": "12JCCTf9S_a3kaE9c_nKoElFquE~44Ux-uz6pzDeguzq-hVDkBXJGKqsXy0ZgeJ17lkj",
    "state": "IdXvNVV9k9I4jNWk"
}
2phase<--<-- 6 --- AccessToken -->-->
2requestop_args: {'state': 'IdXvNVV9k9I4jNWk'}, 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': '12JCCTf9S_a3kaE9c_nKoElFquE~44Ux-uz6pzDeguzq-hVDkBXJGKqsXy0ZgeJ17lkj', 'state': 'IdXvNVV9k9I4jNWk', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'IdXvNVV9k9I4jNWk', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "12JCCTf9S_a3kaE9c_nKoElFquE~44Ux-uz6pzDeguzq-hVDkBXJGKqsXy0ZgeJ17lkj",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "IdXvNVV9k9I4jNWk"
}
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=12JCCTf9S_a3kaE9c_nKoElFquE%7E44Ux-uz6pzDeguzq-hVDkBXJGKqsXy0ZgeJ17lkj&state=IdXvNVV9k9I4jNWk
3http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
3response{'access_token': 'C_SfGrnzvadNekd_LqqLs77pVYs~8HLw_Ziol2hAZ1pvHZNzaSRrO-e4RJN-hbcywh2N', 'refresh_token': 'wYL0cDm42FnInMKlDTJIQzRe8F4~YCjwFk_XVJrGfZqki8fysFMZ7duJXUHDswYMn1LG', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ4ODI0LCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ5MTYyLCJpYXQiOjE1ODA3NDkwNDIsIm5vbmNlIjoiTEFrQWVoeFFvZmlIVXA4MyJ9.d-rt51Mpr4uoW-AT1XtkDusRKYySSa0d4L_O8o4hif8', 'token_type': 'bearer', 'expires_in': 179}
3AccessTokenResponse
{
    "access_token": "C_SfGrnzvadNekd_LqqLs77pVYs~8HLw_Ziol2hAZ1pvHZNzaSRrO-e4RJN-hbcywh2N",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580748824,
        "exp": 1580749162,
        "iat": 1580749042,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "LAkAehxQofiHUp83",
        "sub": "mike"
    },
    "refresh_token": "wYL0cDm42FnInMKlDTJIQzRe8F4~YCjwFk_XVJrGfZqki8fysFMZ7duJXUHDswYMn1LG",
    "token_type": "bearer"
}
3jws header{'typ': 'JWT', 'alg': 'HS256'}
3phase<--<-- 7 --- Done -->-->
3end
3assertionSameAuthn
3conditionsame-authn: status=OK [Verifies that the same authentication was used twice in the flow.]
3assertionVerifyResponse
3conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3conditionDone: status=OK

Result

PASSED