0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | provider_config | kwargs:{'issuer': 'https://isamfed.com:30443/test'}
|
0 | http response | url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
|
0 | ProviderConfigurationResponse | {
"authorization_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize",
"claims_parameter_supported": false,
"claims_supported": [
"realmName",
"preferred_username",
"given_name",
"uid",
"upn",
"groupIds",
"employee_id",
"name",
"tenantId",
"mobile_number",
"department",
"job_title",
"family_name",
"email"
],
"device_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/device_authorize",
"grant_types_supported": [
"urn:ietf:params:oauth:grant-type:jwt-bearer",
"implicit",
"urn:ietf:params:oauth:grant-type:saml2-bearer",
"urn:ietf:params:oauth:grant-type:device_code",
"client_credentials",
"password",
"authorization_code",
"refresh_token"
],
"id_token_signing_alg_values_supported": [
"RS256"
],
"introspect_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/introspect",
"issuer": "https://isamfed.com:30443/test",
"jwks_uri": "https://isamfed.com:30443/mga/sps/jwks",
"name": "OIDCDefinition",
"poc": "https://isamfed.com:30443/mga/",
"registration_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition",
"request_parameter_supported": true,
"request_uri_parameter_supported": true,
"require_request_uri_registration": false,
"response_modes_supported": [
"fragment",
"form_post"
],
"response_types_supported": [
"token",
"id_token",
"token id_token",
"code",
"code id_token",
"code token id_token",
"code token",
"none"
],
"revocation_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/revoke",
"subject_types_supported": [
"public"
],
"token_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/token",
"token_endpoint_auth_methods_supported": [
"private_key_jwt",
"client_secret_post",
"client_secret_basic"
],
"user_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/user_authorize",
"userinfo_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo",
"userinfo_signing_alg_values_supported": [
"RS256"
],
"version": "3.0"
}
|
0 | phase | <--<-- 2 --- Registration -->--> |
0 | register | kwargs:{'response_types': ['code id_token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61365/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61365/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61365/static/jwks_61365.json', 'token_endpoint_auth_method': 'private_key_jwt', 'userinfo_signed_response_alg': 'RS256'}
|
0 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code",
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61365/static/jwks_61365.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61365/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61365/authz_cb"
],
"response_types": [
"code id_token"
],
"token_endpoint_auth_method": "private_key_jwt",
"userinfo_signed_response_alg": "RS256"
}
|
0 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
0 | RegistrationResponse | {
"application_type": "web",
"client_id": "gMrQvfbSAzYjn6xmryWE",
"client_id_issued_at": 1560755708,
"client_secret": "n8fipVSNmkiB6a8jMmAv",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code",
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61365/static/jwks_61365.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61365/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61365/authz_cb"
],
"registration_access_token": "GrJVTEYJl5hwBv9525Kd",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=gMrQvfbSAzYjn6xmryWE",
"response_types": [
"code",
"id_token"
],
"token_endpoint_auth_method": "private_key_jwt",
"userinfo_signed_response_alg": "RS256"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "gMrQvfbSAzYjn6xmryWE",
"nonce": "VTmyAXkrOixWN6Nh",
"redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
"response_type": "code id_token",
"scope": "openid",
"state": "Ln9mpaVDi3gVCoCP"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Ln9mpaVDi3gVCoCP&nonce=VTmyAXkrOixWN6Nh&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=gMrQvfbSAzYjn6xmryWE |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Ln9mpaVDi3gVCoCP&nonce=VTmyAXkrOixWN6Nh&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=gMrQvfbSAzYjn6xmryWE |
1 | http args | {} |
2 | response | URL with fragment |
2 | response | id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IlZUbXlBWGtyT2l4V042TmgiLCJpYXQiOjE1NjA3NTU3MDksImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzU5MTI5LCJjX2hhc2giOiJpbUZta29TZ3M0T2pYOHJPQ0NYMVdBIiwiYXVkIjoiZ01yUXZmYlNBellqbjZ4bXJ5V0UifQ.PPs6QUQkpQ_ztuh_lhJbZyVpcv8HmBNolL3Behw_Vl20526IxcQfQ0xUYwbwd8M3m6R6DkcRLhAs2LEwrlTQltKkeS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se | {
"code": "AdTXskUHYsn9m5HMGethXOVYIvqVi7",
"id_token": {
"aud": [
"gMrQvfbSAzYjn6xmryWE"
],
"c_hash": "imFmkoSgs4OjX8rOCCX1WA",
"exp": 1560759129,
"iat": 1560755709,
"iss": "https://isamfed.com:30443/test",
"nonce": "VTmyAXkrOixWN6Nh",
"sub": "testuser"
},
"state": "Ln9mpaVDi3gVCoCP"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'Ln9mpaVDi3gVCoCP'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb', 'code': 'AdTXskUHYsn9m5HMGethXOVYIvqVi7', 'state': 'Ln9mpaVDi3gVCoCP', 'grant_type': 'authorization_code', 'client_id': 'gMrQvfbSAzYjn6xmryWE'}, 'state': 'Ln9mpaVDi3gVCoCP', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZ01yUXZmYlNBellqbjZ4bXJ5V0UiLCAic3ViIjogImdNclF2ZmJTQXpZam42eG1yeVdFIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJHY0w1aFlnU0VUbEJRUHNhTTVqZTlHOHpuY2VHWEc4YyIsICJleHAiOiAxNTYwNzU2MzEwLCAiaWF0IjogMTU2MDc1NTcxMH0.EoyqUnhpdqJ66XnCpav1xhxC939a9OY5pIrdkuk2WLboX3NY8UIPeCe3N-JqT-Y_GGNBo-ecInzZMvYQqBBBob-JNehiYzKwFxCqWUUhrCipN-enCDR1xB_dCbUtJqWgWbr3Wq_N_zXhMMsTUVQRGw9K1p1Y8iLgm-uZGKfKijwkOzhRn8393s50RKLL0c0qxkXwyYmK5dmpcblDKVd5QPmIqnHpDVW_3CUXWWa47OTMn_oncv5BRjYRi9midnJPqyS0-R-O-FcuvltgP8s6a0c_AnI7E9IGn00O_FWH-2EyNf_SksVZsc_N_ZF90FAy5su97mmcwB66S6OgHTZLVw",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "AdTXskUHYsn9m5HMGethXOVYIvqVi7",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
"state": "Ln9mpaVDi3gVCoCP"
}
|
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
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%3A61365%2Fauthz_cb&code=AdTXskUHYsn9m5HMGethXOVYIvqVi7&state=Ln9mpaVDi3gVCoCP&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZ01yUXZmYlNBellqbjZ4bXJ5V0UiLCAic3ViIjogImdNclF2ZmJTQXpZam42eG1yeVdFIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJHY0w1aFlnU0VUbEJRUHNhTTVqZTlHOHpuY2VHWEc4YyIsICJleHAiOiAxNTYwNzU2MzEwLCAiaWF0IjogMTU2MDc1NTcxMH0.EoyqUnhpdqJ66XnCpav1xhxC939a9OY5pIrdkuk2WLboX3NY8UIPeCe3N-JqT-Y_GGNBo-ecInzZMvYQqBBBob-JNehiYzKwFxCqWUUhrCipN-enCDR1xB_dCbUtJqWgWbr3Wq_N_zXhMMsTUVQRGw9K1p1Y8iLgm-uZGKfKijwkOzhRn8393s50RKLL0c0qxkXwyYmK5dmpcblDKVd5QPmIqnHpDVW_3CUXWWa47OTMn_oncv5BRjYRi9midnJPqyS0-R-O-FcuvltgP8s6a0c_AnI7E9IGn00O_FWH-2EyNf_SksVZsc_N_ZF90FAy5su97mmcwB66S6OgHTZLVw&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'uS0Dn29BX5hPS0qwTMJn', 'refresh_token': 'egW3zVJZcMCVz0T2PCHYLd2Emp2d5s94yHD6yuoj', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiSVdFNGNPc2RBMG5wcDliaUR3MEREUSIsIm5vbmNlIjoiVlRteUFYa3JPaXhXTjZOaCIsImlhdCI6MTU2MDc1NTcxMCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6ImcxSl8wa0Mxdk9zZWZsd19RTWJUNXciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1OTEzMCwiYXVkIjoiZ01yUXZmYlNBellqbjZ4bXJ5V0UifQ.OMBHu76VxHZ8ZiCkwqnOO-Zc5HTiBDBX1G2Sb9Yhc6dkiH9RVpZenVyJRpw0iDzlqnyzL2pBq4Dcrm5gCDhu_fV0Nz9XTahp4svU88z0t2VWumBufnmHkngIQAdHpOY1cJqvQMj9_yTUqE-Vb5T2ImN4ZARQ67qEOeJVSEPRIETUucQctzAuj3YENM8V4yTXU8hyyHRKBKt85yLUuaKEnYrTn3kv1LxawqRsP2ncmBIolVntjNWO7muw9SLkQ_1bZelNZ5WzlJQmJ7f7MJg3EARCMMNnNP0DAA_uVWhloAoo_Jl-q8s-AqW3VgePnq8tZSPYNl1imWvSsZclRn2fug', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "uS0Dn29BX5hPS0qwTMJn",
"expires_in": 3599,
"id_token": {
"at_hash": "g1J_0kC1vOseflw_QMbT5w",
"aud": [
"gMrQvfbSAzYjn6xmryWE"
],
"exp": 1560759130,
"iat": 1560755710,
"iss": "https://isamfed.com:30443/test",
"nonce": "VTmyAXkrOixWN6Nh",
"rt_hash": "IWE4cOsdA0npp9biDw0DDQ",
"sub": "testuser"
},
"refresh_token": "egW3zVJZcMCVz0T2PCHYLd2Emp2d5s94yHD6yuoj",
"scope": "openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'Ln9mpaVDi3gVCoCP', 'method': 'GET', 'authn_method': 'bearer_header', 'ctype': 'jwt'}
|
2 | request | {'body': None} |
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
2 | request_http_args | {'headers': {'Authorization': 'Bearer uS0Dn29BX5hPS0qwTMJn'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"aud": "gMrQvfbSAzYjn6xmryWE",
"iss": "https://isamfed.com:30443/test",
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"aud": "gMrQvfbSAzYjn6xmryWE",
"iss": "https://isamfed.com:30443/test",
"sub": "testuser"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 6 --- Done -->--> |
3 | end | |
3 | assertion | CheckAsymSignedUserInfo |
3 | condition | asym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key] |
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 |