0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | not expected to do | Dynamic discovery |
0 | phase | <--<-- 2 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "oidcConformance_clientId",
"nonce": "3RZuSgo8qRK2Gs2a",
"redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "uoDC1c9IsBSzMkx8"
}
|
0 | redirect url | https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId?state=uoDC1c9IsBSzMkx8&nonce=3RZuSgo8qRK2Gs2a&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=uoDC1c9IsBSzMkx8&nonce=3RZuSgo8qRK2Gs2a&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': 'thS8BZlcfHdzLVdONJHJnwinGJs~2mDeq1nEi_hu7oX41p-lZ6E4g-5W3Dw2-SS_B_ZH', 'state': 'uoDC1c9IsBSzMkx8'} |
2 | response | {'code': 'thS8BZlcfHdzLVdONJHJnwinGJs~2mDeq1nEi_hu7oX41p-lZ6E4g-5W3Dw2-SS_B_ZH', 'state': 'uoDC1c9IsBSzMkx8'} |
2 | AuthorizationResponse | {
"code": "thS8BZlcfHdzLVdONJHJnwinGJs~2mDeq1nEi_hu7oX41p-lZ6E4g-5W3Dw2-SS_B_ZH",
"state": "uoDC1c9IsBSzMkx8"
}
|
2 | phase | <--<-- 3 --- AccessToken -->--> |
2 | request | op_args: {'state': 'uoDC1c9IsBSzMkx8', 'authn_method': 'client_secret_post'}, 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': 'thS8BZlcfHdzLVdONJHJnwinGJs~2mDeq1nEi_hu7oX41p-lZ6E4g-5W3Dw2-SS_B_ZH', 'state': 'uoDC1c9IsBSzMkx8', 'grant_type': 'authorization_code', 'client_id': 'oidcConformance_clientId'}, 'state': 'uoDC1c9IsBSzMkx8', 'authn_method': 'client_secret_post'}
|
2 | AccessTokenRequest | {
"client_id": "oidcConformance_clientId",
"client_secret": "ix0ooChe_eere1Muk_oojei9Ie_Eithai4j",
"code": "thS8BZlcfHdzLVdONJHJnwinGJs~2mDeq1nEi_hu7oX41p-lZ6E4g-5W3Dw2-SS_B_ZH",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:60272/authz_cb",
"state": "uoDC1c9IsBSzMkx8"
}
|
2 | request_url | https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId |
2 | request_http_args | {'headers': {'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=thS8BZlcfHdzLVdONJHJnwinGJs%7E2mDeq1nEi_hu7oX41p-lZ6E4g-5W3Dw2-SS_B_ZH&state=uoDC1c9IsBSzMkx8&client_id=oidcConformance_clientId&client_secret=ix0ooChe_eere1Muk_oojei9Ie_Eithai4j |
3 | http response | url:https://oidc-test.ergon.ch/auth-oidc/oauth2/oidcConformance_clientId status_code:200
|
3 | response | {'access_token': 'GMYEDXEONI-AS4H-IawFCLYLlZo~22Rsog1ZWyNneNGARZfzH2nJzudPP5o2cdkAUwF2', 'refresh_token': 'm3ua4YcFgjau38INPcdepVYQYAg~XkiX-X2oaBxjr8FIelz_OiBHYbUKsUOp0i3nf83f', 'id_token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwiYXVkIjoib2lkY0NvbmZvcm1hbmNlX2NsaWVudElkIiwiYXV0aF90aW1lIjoxNTgwNzQ2NzMyLCJpc3MiOiJodHRwczpcL1wvb2lkYy10ZXN0LmVyZ29uLmNoIiwiZXhwIjoxNTgwNzQ3NjAwLCJpYXQiOjE1ODA3NDc0ODAsIm5vbmNlIjoiM1JadVNnbzhxUksyR3MyYSJ9.rOK1kN6cK_CuS2aYTTJH9b2xRpXk_SlrpjiLarS-Hi4', 'token_type': 'bearer', 'expires_in': 179} |
3 | AccessTokenResponse | {
"access_token": "GMYEDXEONI-AS4H-IawFCLYLlZo~22Rsog1ZWyNneNGARZfzH2nJzudPP5o2cdkAUwF2",
"expires_in": 179,
"id_token": {
"aud": [
"oidcConformance_clientId"
],
"auth_time": 1580746732,
"exp": 1580747600,
"iat": 1580747480,
"iss": "https://oidc-test.ergon.ch",
"nonce": "3RZuSgo8qRK2Gs2a",
"sub": "mike"
},
"refresh_token": "m3ua4YcFgjau38INPcdepVYQYAg~XkiX-X2oaBxjr8FIelz_OiBHYbUKsUOp0i3nf83f",
"token_type": "bearer"
}
|
3 | jws header | {'typ': 'JWT', 'alg': 'HS256'} |
3 | phase | <--<-- 4 --- Done -->--> |
3 | end | |
3 | assertion | VerifyResponse |
3 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
3 | condition | Done: status=OK |