0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | not expected to do | Dynamic discovery |
0 | phase | <--<-- 2 --- Registration -->--> |
0 | not expected to do | Dynamic registration |
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "oidcConformance_clientId",
"nonce": "godmorgon",
"redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "KZj59qoDMSjrjHme"
}
|
0 | redirect url | https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=KZj59qoDMSjrjHme&nonce=godmorgon&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&client_id=oidcConformance_clientId |
0 | redirect | https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=KZj59qoDMSjrjHme&nonce=godmorgon&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&client_id=oidcConformance_clientId |
3 | response | Response URL with query part |
3 | response | {'code': 'SJZF6N_zJOF1mccHUrEfmWQ1unI~XSdReoIVB7F6YgDr2WsSTKInfpLO_IBVgkqlR40J', 'state': 'KZj59qoDMSjrjHme'} |
3 | response | {'code': 'SJZF6N_zJOF1mccHUrEfmWQ1unI~XSdReoIVB7F6YgDr2WsSTKInfpLO_IBVgkqlR40J', 'state': 'KZj59qoDMSjrjHme'} |
3 | AuthorizationResponse | {
"code": "SJZF6N_zJOF1mccHUrEfmWQ1unI~XSdReoIVB7F6YgDr2WsSTKInfpLO_IBVgkqlR40J",
"state": "KZj59qoDMSjrjHme"
}
|
3 | phase | <--<-- 4 --- AccessToken -->--> |
3 | request | op_args: {'state': 'KZj59qoDMSjrjHme'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb'} |
3 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb', 'code': 'SJZF6N_zJOF1mccHUrEfmWQ1unI~XSdReoIVB7F6YgDr2WsSTKInfpLO_IBVgkqlR40J', 'state': 'KZj59qoDMSjrjHme', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'KZj59qoDMSjrjHme', 'authn_method': 'client_secret_basic'}
|
3 | AccessTokenRequest | {
"code": "SJZF6N_zJOF1mccHUrEfmWQ1unI~XSdReoIVB7F6YgDr2WsSTKInfpLO_IBVgkqlR40J",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
"state": "KZj59qoDMSjrjHme"
}
|
3 | request_url | https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId |
3 | request_http_args | {'headers': {'Authorization': 'Basic b2lkY0NvbmZvcm1hbmNlX2NsaWVudElkOml4MG9vQ2hlX2VlcmUxTXVrX29vamVpOUllX0VpdGhhaTRq', 'Content-Type': 'application/x-www-form-urlencoded'}} |
3 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&code=SJZF6N_zJOF1mccHUrEfmWQ1unI%7EXSdReoIVB7F6YgDr2WsSTKInfpLO_IBVgkqlR40J&state=KZj59qoDMSjrjHme |
3 | http response | url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
|
3 | response | {'access_token': 'L17T_yUw6jVN8tluWbUOZ2QCnLU~WGJD4DpHQtKpANoEPEDqZvYmHUSGtJQSvkDYcqsn', 'refresh_token': 'MxpVZJEotJphDqY44w6jGciOgUs~tpog-vGuEoOBwlV3VEj-BvgVFcfIDzt8krIiGFZA', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ2NzMyLCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ4NTgzLCJpYXQiOjE1ODA3NDg0NjMsIm5vbmNlIjoiZ29kbW9yZ29uIn0.nrRrsegXcYbSylKt_M3abcqijG5tkwc-1wu3ecD3lqY', 'token_type': 'bearer', 'expires_in': 179} |
4 | AccessTokenResponse | {
"access_token": "L17T_yUw6jVN8tluWbUOZ2QCnLU~WGJD4DpHQtKpANoEPEDqZvYmHUSGtJQSvkDYcqsn",
"expires_in": 179,
"id_token": {
"aud": [
"oidcConformance_clientId"
],
"auth_time": 1580746732,
"exp": 1580748583,
"iat": 1580748463,
"iss": "https://oidc-test.ergon.ch",
"nonce": "godmorgon",
"sub": "mike"
},
"refresh_token": "MxpVZJEotJphDqY44w6jGciOgUs~tpog-vGuEoOBwlV3VEj-BvgVFcfIDzt8krIiGFZA",
"token_type": "bearer"
}
|
4 | jws header | {'typ': 'JWT', 'alg': 'HS256'} |
4 | phase | <--<-- 5 --- Done -->--> |
4 | end | |
4 | assertion | VerifyNonce |
4 | condition | verify-nonce: status=OK [Verifies that the nonce received in the IDToken is the same as was given in the Authorization Request] |
4 | assertion | VerifyResponse |
4 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
4 | condition | Done: status=OK |