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": "loQCwmKvNkMHOxcr",
"redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "2tb5uup4OlY6WhSR"
}
|
0 | redirect url | https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=2tb5uup4OlY6WhSR&nonce=loQCwmKvNkMHOxcr&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=2tb5uup4OlY6WhSR&nonce=loQCwmKvNkMHOxcr&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&client_id=oidcConformance_clientId |
2 | response | Response URL with query part |
2 | response | {'code': 'J0i0c9iTDWMbOjpc6SESj8lYGEk~kaoQ8g_cNUa0b50dGbURoKeVkA7WikuhiAreBAsO', 'state': '2tb5uup4OlY6WhSR'} |
2 | response | {'code': 'J0i0c9iTDWMbOjpc6SESj8lYGEk~kaoQ8g_cNUa0b50dGbURoKeVkA7WikuhiAreBAsO', 'state': '2tb5uup4OlY6WhSR'} |
2 | AuthorizationResponse | {
"code": "J0i0c9iTDWMbOjpc6SESj8lYGEk~kaoQ8g_cNUa0b50dGbURoKeVkA7WikuhiAreBAsO",
"state": "2tb5uup4OlY6WhSR"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': '2tb5uup4OlY6WhSR'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:60272/authz_cb', 'code': 'J0i0c9iTDWMbOjpc6SESj8lYGEk~kaoQ8g_cNUa0b50dGbURoKeVkA7WikuhiAreBAsO', 'state': '2tb5uup4OlY6WhSR', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': '2tb5uup4OlY6WhSR', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "J0i0c9iTDWMbOjpc6SESj8lYGEk~kaoQ8g_cNUa0b50dGbURoKeVkA7WikuhiAreBAsO",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
"state": "2tb5uup4OlY6WhSR"
}
|
2 | request_url | https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId |
2 | request_http_args | {'headers': {'Authorization': 'Basic b2lkY0NvbmZvcm1hbmNlX2NsaWVudElkOml4MG9vQ2hlX2VlcmUxTXVrX29vamVpOUllX0VpdGhhaTRq', 'Content-Type': 'application/x-www-form-urlencoded'}} |
2 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60272%2Fauthz_cb&code=J0i0c9iTDWMbOjpc6SESj8lYGEk%7EkaoQ8g_cNUa0b50dGbURoKeVkA7WikuhiAreBAsO&state=2tb5uup4OlY6WhSR |
3 | http response | url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
|
3 | response | {'access_token': 'Q6OaJkAOYpREZ1fNKga1mb9nbR4~7vMMTPqxkxogfSfdZB32W68_Wsiy9eeDjdi64a-L', 'refresh_token': 'FGHgXNUam7AaeBfjZQQsmZq_QXk~VSkhjRNiw_okWgrEiL-pT8iJiVQAM7aNQwwBnMdu', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ2NzMyLCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ4MTg3LCJpYXQiOjE1ODA3NDgwNjcsIm5vbmNlIjoibG9RQ3dtS3ZOa01IT3hjciJ9.1F5x1ct6w7kBxubj4elXsnVUeEAbfTKOncON063jG2E', 'token_type': 'bearer', 'expires_in': 179} |
3 | AccessTokenResponse | {
"access_token": "Q6OaJkAOYpREZ1fNKga1mb9nbR4~7vMMTPqxkxogfSfdZB32W68_Wsiy9eeDjdi64a-L",
"expires_in": 179,
"id_token": {
"aud": [
"oidcConformance_clientId"
],
"auth_time": 1580746732,
"exp": 1580748187,
"iat": 1580748067,
"iss": "https://oidc-test.ergon.ch",
"nonce": "loQCwmKvNkMHOxcr",
"sub": "mike"
},
"refresh_token": "FGHgXNUam7AaeBfjZQQsmZq_QXk~VSkhjRNiw_okWgrEiL-pT8iJiVQAM7aNQwwBnMdu",
"token_type": "bearer"
}
|
3 | jws header | {'typ': 'JWT', 'alg': 'HS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': '2tb5uup4OlY6WhSR', 'method': 'POST', 'authn_method': 'token_in_message_body'}
|
3 | request | {'body': 'access_token=Q6OaJkAOYpREZ1fNKga1mb9nbR4%7E7vMMTPqxkxogfSfdZB32W68_Wsiy9eeDjdi64a-L'} |
3 | request_url | https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId/userinfo |
3 | request_http_args | {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}} |
4 | http response | url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId/userinfo status_code:200
|
4 | OpenIDSchema | {
"address": {
"formatted": "Kleinstrasse 15 \n8032 Zurich"
},
"birthdate": "01011970",
"email": "micdou@ergon.ch",
"family_name": "Doujak",
"gender": "male",
"given_name": "Michael",
"locale": "EN",
"middle_name": "middle_name",
"name": "Doujak Michael",
"nickname": "nickname",
"phone_number": "0797127212",
"picture": "https://www.airlock.com/typo3conf/ext/airlockpackage/Resources/Public/Images/Logos/logo-airlock-black.svg",
"preferred_username": "$(username)",
"profile": {
"family_name": "Doujak",
"given_name": "Michael"
},
"sub": "mike",
"updated_at": 20190101,
"website": "https://airlock.com",
"zoneinfo": "zoneinfo - CET"
}
|
4 | OpenIDSchema | {
"address": {
"formatted": "Kleinstrasse 15 \n8032 Zurich"
},
"birthdate": "01011970",
"email": "micdou@ergon.ch",
"family_name": "Doujak",
"gender": "male",
"given_name": "Michael",
"locale": "EN",
"middle_name": "middle_name",
"name": "Doujak Michael",
"nickname": "nickname",
"phone_number": "0797127212",
"picture": "https://www.airlock.com/typo3conf/ext/airlockpackage/Resources/Public/Images/Logos/logo-airlock-black.svg",
"preferred_username": "$(username)",
"profile": {
"family_name": "Doujak",
"given_name": "Michael"
},
"sub": "mike",
"updated_at": 20190101,
"website": "https://airlock.com",
"zoneinfo": "zoneinfo - CET"
}
|
4 | phase | <--<-- 6 --- Done -->--> |
4 | end | |
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 |