Test Info

Issuerhttps://oidc-test.ergon.ch
Profile[]
Test IDOP-prompt-login
Test descriptionRequest with prompt=login
Timestamp2020-02-03T16:48:59Z

Conditions


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": "5FGaajX0w1ktClo7",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "XsbuTqqrBD6Qbkdu"
}
0redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=XsbuTqqrBD6Qbkdu&nonce=5FGaajX0w1ktClo7&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=XsbuTqqrBD6Qbkdu&nonce=5FGaajX0w1ktClo7&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': 'mRoP-ALsWnm0EHKVkDGj9zVpt6Q~7OgfMF8vKAdt5hxSXPbl5tY7Zo2V6OLs2DSpnM6k', 'state': 'XsbuTqqrBD6Qbkdu'}
3response{'code': 'mRoP-ALsWnm0EHKVkDGj9zVpt6Q~7OgfMF8vKAdt5hxSXPbl5tY7Zo2V6OLs2DSpnM6k', 'state': 'XsbuTqqrBD6Qbkdu'}
3AuthorizationResponse
{
    "code": "mRoP-ALsWnm0EHKVkDGj9zVpt6Q~7OgfMF8vKAdt5hxSXPbl5tY7Zo2V6OLs2DSpnM6k",
    "state": "XsbuTqqrBD6Qbkdu"
}
3phase<--<-- 4 --- AccessToken -->-->
3requestop_args: {'state': 'XsbuTqqrBD6Qbkdu'}, 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': 'mRoP-ALsWnm0EHKVkDGj9zVpt6Q~7OgfMF8vKAdt5hxSXPbl5tY7Zo2V6OLs2DSpnM6k', 'state': 'XsbuTqqrBD6Qbkdu', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'XsbuTqqrBD6Qbkdu', 'authn_method': 'client_secret_basic'}
3AccessTokenRequest
{
    "code": "mRoP-ALsWnm0EHKVkDGj9zVpt6Q~7OgfMF8vKAdt5hxSXPbl5tY7Zo2V6OLs2DSpnM6k",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "XsbuTqqrBD6Qbkdu"
}
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=mRoP-ALsWnm0EHKVkDGj9zVpt6Q%7E7OgfMF8vKAdt5hxSXPbl5tY7Zo2V6OLs2DSpnM6k&state=XsbuTqqrBD6Qbkdu
4http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
4response{'access_token': 'R-xULG25QtnuoADDUx8EacMh7uc~ahXwQMUwHTfrkIKJ7wCS5qzp7sFBd26yH8zwNZqg', 'refresh_token': 'rzBeZZzbsHitBPF6ltmq1eVHvxg~o1_ic4CioVMbyqmdyDvJkcldjTdPxd40qYiwa8Hl', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ4NTAzLCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ4NjM2LCJpYXQiOjE1ODA3NDg1MTYsIm5vbmNlIjoiNUZHYWFqWDB3MWt0Q2xvNyJ9.-kNEtLIzUz17zQ6wiUvjlhXx6zC7nn-PNSqZCn5cteU', 'token_type': 'bearer', 'expires_in': 179}
4AccessTokenResponse
{
    "access_token": "R-xULG25QtnuoADDUx8EacMh7uc~ahXwQMUwHTfrkIKJ7wCS5qzp7sFBd26yH8zwNZqg",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580748503,
        "exp": 1580748636,
        "iat": 1580748516,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "5FGaajX0w1ktClo7",
        "sub": "mike"
    },
    "refresh_token": "rzBeZZzbsHitBPF6ltmq1eVHvxg~o1_ic4CioVMbyqmdyDvJkcldjTdPxd40qYiwa8Hl",
    "token_type": "bearer"
}
4jws header{'typ': 'JWT', 'alg': 'HS256'}
4phase<--<-- 5 --- Note -->-->
9phase<--<-- 6 --- AsyncAuthn -->-->
9AuthorizationRequest
{
    "client_id": "oidcConformance_clientId",
    "nonce": "HIgqASgpHSe0doVy",
    "prompt": [
        "login"
    ],
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "b4tSoogGpDKhjDiL"
}
9redirect urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=b4tSoogGpDKhjDiL&nonce=HIgqASgpHSe0doVy&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&prompt=login&client_id=oidcConformance_clientId
9redirecthttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=b4tSoogGpDKhjDiL&nonce=HIgqASgpHSe0doVy&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&prompt=login&client_id=oidcConformance_clientId
26responseResponse URL with query part
26response{'code': 'tRecvX638xM24Z70eKYJBp6-VAU~_ImiAWwr-SMigbdHFquhYjdmXQ5vi_hUV5XjE3Xt', 'state': 'b4tSoogGpDKhjDiL'}
26response{'code': 'tRecvX638xM24Z70eKYJBp6-VAU~_ImiAWwr-SMigbdHFquhYjdmXQ5vi_hUV5XjE3Xt', 'state': 'b4tSoogGpDKhjDiL'}
26AuthorizationResponse
{
    "code": "tRecvX638xM24Z70eKYJBp6-VAU~_ImiAWwr-SMigbdHFquhYjdmXQ5vi_hUV5XjE3Xt",
    "state": "b4tSoogGpDKhjDiL"
}
26phase<--<-- 7 --- AccessToken -->-->
26requestop_args: {'state': 'b4tSoogGpDKhjDiL'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb'}
26do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb', 'code': 'tRecvX638xM24Z70eKYJBp6-VAU~_ImiAWwr-SMigbdHFquhYjdmXQ5vi_hUV5XjE3Xt', 'state': 'b4tSoogGpDKhjDiL', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'b4tSoogGpDKhjDiL', 'authn_method': 'client_secret_basic'}
26AccessTokenRequest
{
    "code": "tRecvX638xM24Z70eKYJBp6-VAU~_ImiAWwr-SMigbdHFquhYjdmXQ5vi_hUV5XjE3Xt",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
    "state": "b4tSoogGpDKhjDiL"
}
26request_urlhttps://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId
26request_http_args{'headers': {'Authorization': 'Basic b2lkY0NvbmZvcm1hbmNlX2NsaWVudElkOml4MG9vQ2hlX2VlcmUxTXVrX29vamVpOUllX0VpdGhhaTRq', 'Content-Type': 'application/x-www-form-urlencoded'}}
26requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&code=tRecvX638xM24Z70eKYJBp6-VAU%7E_ImiAWwr-SMigbdHFquhYjdmXQ5vi_hUV5XjE3Xt&state=b4tSoogGpDKhjDiL
26http response
url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
26response{'access_token': 'S4gV8oBl4bNYJ0dyPq7miTUiTIE~SJWV5MPYisrZqa1qpmNdDDKxhuYlc6TIE4lriW3a', 'refresh_token': 'atIUBu7l1btpr5gegKLLatBVzYs~T6-pxnO1r7q9A-oTXnMWTXOVy8y5PxL6nOpkqEUP', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ4NTM2LCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ4NjU4LCJpYXQiOjE1ODA3NDg1MzgsIm5vbmNlIjoiSElncUFTZ3BIU2UwZG9WeSJ9.OZA-MygxB_98DAGUT_LcfUK2Iagy_-QeqkCgAk_VRxQ', 'token_type': 'bearer', 'expires_in': 179}
26AccessTokenResponse
{
    "access_token": "S4gV8oBl4bNYJ0dyPq7miTUiTIE~SJWV5MPYisrZqa1qpmNdDDKxhuYlc6TIE4lriW3a",
    "expires_in": 179,
    "id_token": {
        "aud": [
            "oidcConformance_clientId"
        ],
        "auth_time": 1580748536,
        "exp": 1580748658,
        "iat": 1580748538,
        "iss": "https://oidc-test.ergon.ch",
        "nonce": "HIgqASgpHSe0doVy",
        "sub": "mike"
    },
    "refresh_token": "atIUBu7l1btpr5gegKLLatBVzYs~T6-pxnO1r7q9A-oTXnMWTXOVy8y5PxL6nOpkqEUP",
    "token_type": "bearer"
}
26jws header{'typ': 'JWT', 'alg': 'HS256'}
26phase<--<-- 8 --- Done -->-->
26end
26assertionMultipleSignOn
26conditionmultiple-sign-on: status=OK [Verifies that multiple authentications was used in the flow]
26assertionVerifyResponse
26conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
26conditionDone: status=OK

Result

PASSED