0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | provider_config | kwargs:{'issuer': 'https://isamfed.com:30443/test'}
|
1 | http response | url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
|
1 | 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"
}
|
1 | phase | <--<-- 2 --- Registration -->--> |
1 | register | kwargs:{'response_types': ['code id_token token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61367/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61367/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61367/static/jwks_61367.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
1 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61367/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61367/authz_cb"
],
"response_types": [
"code id_token token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "DtYOb7ulMFptG7ulnOtL",
"client_id_issued_at": 1560755331,
"client_secret": "y1Ply8cfMQsQ3uD0BOol",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61367/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61367/authz_cb"
],
"registration_access_token": "SCu3HuAjr3QIaewdrhsD",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=DtYOb7ulMFptG7ulnOtL",
"response_types": [
"code",
"id_token",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "DtYOb7ulMFptG7ulnOtL",
"nonce": "kJ6dGra9txh1Xex5",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"response_type": "code id_token token",
"scope": "openid email",
"state": "Z6fqmwjVpycuaN0J"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Z6fqmwjVpycuaN0J&nonce=kJ6dGra9txh1Xex5&response_type=code+id_token+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=DtYOb7ulMFptG7ulnOtL |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Z6fqmwjVpycuaN0J&nonce=kJ6dGra9txh1Xex5&response_type=code+id_token+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=DtYOb7ulMFptG7ulnOtL |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=QJcvEn8ugoafW1X4jBvq&state=Z6fqmwjVpycuaN0J&expires_in=3599&token_type=bearer&code=Q5zBCXbxMrKkZjlQZj1QNc4LUutiMp&scope=openid%20email&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImtKNmRHcmE5dHhoMVhleDUiLCJlbWFpbCI6InRlc3RfaXNhbWZlZEBnbWFpbC5jb20iLCJpYXQiOjE1NjA3NTUzMzIsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJOUlk0M054NWdMajlnQndESDNTVTlRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg3NTIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY19oYXNoIjoicGY3cVUyYk9kY05OS21WUHBNdDhudyIsImF1ZCI6IkR0WU9iN3VsTUZwdEc3dWxuT3RMIn0.AF2L_RDcI5GEFcqwDRhWMvAc5J5UayOKTw7P4tB4SNg3WJSXW1suY8k9N_IdiwQnfu-DRSo4L4G98Fyv__y97HgZvh3TZ0J7cVPvevm-yn2rBfDnfjYtiuuEhPG_pDnte6g3bbjVOKpw0EJcvu3Eo_e2JlFkytiw1b9xAGSQbxSjVg8n6tmStQ3A0ivv1SnYTu53uOPqd7Kvk-nVD3OU9opPBbDWOMDuKGIBiQYrWCvCibAWPOxFxZAcLlWndwXDvjj_q8YHh3xWuxv3tgL3bndIXrpDTqf8vQOW8JZoc4zAmFvbaZWSpP0FKy4PQmKxxHKzjE2wQAM_34jSdZzO-Q |
2 | response | {'access_token': 'QJcvEn8ugoafW1X4jBvq', 'state': 'Z6fqmwjVpycuaN0J', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'Q5zBCXbxMrKkZjlQZj1QNc4LUutiMp', 'scope': 'openid email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImtKNmRHcmE5dHhoMVhleDUiLCJlbWFpbCI6InRlc3RfaXNhbWZlZEBnbWFpbC5jb20iLCJpYXQiOjE1NjA3NTUzMzIsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJOUlk0M054NWdMajlnQndESDNTVTlRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg3NTIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY19oYXNoIjoicGY3cVUyYk9kY05OS21WUHBNdDhudyIsImF1ZCI6IkR0WU9iN3VsTUZwdEc3dWxuT3RMIn0.AF2L_RDcI5GEFcqwDRhWMvAc5J5UayOKTw7P4tB4SNg3WJSXW1suY8k9N_IdiwQnfu-DRSo4L4G98Fyv__y97HgZvh3TZ0J7cVPvevm-yn2rBfDnfjYtiuuEhPG_pDnte6g3bbjVOKpw0EJcvu3Eo_e2JlFkytiw1b9xAGSQbxSjVg8n6tmStQ3A0ivv1SnYTu53uOPqd7Kvk-nVD3OU9opPBbDWOMDuKGIBiQYrWCvCibAWPOxFxZAcLlWndwXDvjj_q8YHh3xWuxv3tgL3bndIXrpDTqf8vQOW8JZoc4zAmFvbaZWSpP0FKy4PQmKxxHKzjE2wQAM_34jSdZzO-Q'} |
3 | AuthorizationResponse | {
"access_token": "QJcvEn8ugoafW1X4jBvq",
"code": "Q5zBCXbxMrKkZjlQZj1QNc4LUutiMp",
"expires_in": 3599,
"id_token": {
"at_hash": "NRY43Nx5gLj9gBwDH3SU9Q",
"aud": [
"DtYOb7ulMFptG7ulnOtL"
],
"c_hash": "pf7qU2bOdcNNKmVPpMt8nw",
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560758752,
"iat": 1560755332,
"iss": "https://isamfed.com:30443/test",
"nonce": "kJ6dGra9txh1Xex5",
"sub": "testuser"
},
"scope": "openid email",
"state": "Z6fqmwjVpycuaN0J",
"token_type": "bearer"
}
|
3 | phase | <--<-- 4 --- AccessToken -->--> |
3 | request | op_args: {'state': 'Z6fqmwjVpycuaN0J'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb'} |
3 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb', 'code': 'Q5zBCXbxMrKkZjlQZj1QNc4LUutiMp', 'state': 'Z6fqmwjVpycuaN0J', 'grant_type': 'authorization_code', 'client_id': 'DtYOb7ulMFptG7ulnOtL'}, 'state': 'Z6fqmwjVpycuaN0J', 'authn_method': 'private_key_jwt'}
|
3 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRHRZT2I3dWxNRnB0Rzd1bG5PdEwiLCAic3ViIjogIkR0WU9iN3VsTUZwdEc3dWxuT3RMIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJrR1diZWF0TmJkR1pDZ0lBV3B5VnlvZmFrNUdIUmt5NiIsICJleHAiOiAxNTYwNzU1OTMzLCAiaWF0IjogMTU2MDc1NTMzM30.fupkE6bbfJE6zKk7qJLXTvKK9q_AAwDXbjBcvuvO0YwK1eH1Mb_AN_-nsamcBQUQr0X1DzRVcxapA1zQfkyFQME73CDJvi1a_EmDkVHmj1aTdljvXhcQskAcfejfoYTzxNVU-plhVacyvU7XzTP1IK-SLfKRAjRXygX6qlAjEgxM89MS8zg-c0dYMwP6tYNI9rOLWDLft4M0atgDhWcCjNgYHOpLAL8L2vSNJwzTpNBxowAY02hCAq3q8Qlec2gPNbbfI29dBoS1RK9hDI5yj8bihHk4wCIgKnnbg_zbQmEvBACWNBLUPBH_7TK5VexvrJVn4uC3zvwCX-7ff5UoSQ",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "Q5zBCXbxMrKkZjlQZj1QNc4LUutiMp",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"state": "Z6fqmwjVpycuaN0J"
}
|
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
3 | request_http_args | {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}} |
3 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&code=Q5zBCXbxMrKkZjlQZj1QNc4LUutiMp&state=Z6fqmwjVpycuaN0J&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRHRZT2I3dWxNRnB0Rzd1bG5PdEwiLCAic3ViIjogIkR0WU9iN3VsTUZwdEc3dWxuT3RMIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJrR1diZWF0TmJkR1pDZ0lBV3B5VnlvZmFrNUdIUmt5NiIsICJleHAiOiAxNTYwNzU1OTMzLCAiaWF0IjogMTU2MDc1NTMzM30.fupkE6bbfJE6zKk7qJLXTvKK9q_AAwDXbjBcvuvO0YwK1eH1Mb_AN_-nsamcBQUQr0X1DzRVcxapA1zQfkyFQME73CDJvi1a_EmDkVHmj1aTdljvXhcQskAcfejfoYTzxNVU-plhVacyvU7XzTP1IK-SLfKRAjRXygX6qlAjEgxM89MS8zg-c0dYMwP6tYNI9rOLWDLft4M0atgDhWcCjNgYHOpLAL8L2vSNJwzTpNBxowAY02hCAq3q8Qlec2gPNbbfI29dBoS1RK9hDI5yj8bihHk4wCIgKnnbg_zbQmEvBACWNBLUPBH_7TK5VexvrJVn4uC3zvwCX-7ff5UoSQ&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'fAPqqrDdYKjZYehn85RK', 'refresh_token': 'WAOIqnj1Vw3Cc22lb3L4V2B0Pw0kjaNKbEchsdsf', 'scope': 'openid email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoidU1OcUlNT2FYaUJLZ0lXMU9FTGZVUSIsIm5vbmNlIjoia0o2ZEdyYTl0eGgxWGV4NSIsImVtYWlsIjoidGVzdF9pc2FtZmVkQGdtYWlsLmNvbSIsImlhdCI6MTU2MDc1NTMzMywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IjRwV2h2eGNNdzFRNHhuME1HYV90MEEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODc1MywiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJhdWQiOiJEdFlPYjd1bE1GcHRHN3Vsbk90TCJ9.o-mgMIHqFpM7_dQteXFG0JtytZcDs3PhNm1hR7d2i9uWkpjl_Zcz46NKZxBhNBDpNQKCuDDgrW7lnMbTE3tx6ZpmuI_5jdvMvHxtwCA3J0EFanFMoYqVDkAemM_ugD2nFog_hhMs0HNomac72AOaXiJzoZ7iRW9FdxNnFFyV6Q6zk4eY_W7D5T81SUdLmNVS9F6Xs0GOjto3quGFQ63ZPec0-Mix0IWkDRAE08owKEAyGCDU9u5pywlYuVkwJ_01-u7Uq2Bfrd_VzKdnXo86GiCQb7pm3pKwTOAE0DxYukhiHIWCWInzkD1fonMMSrmzzcqTIHF4ftVsI1ZQMvVxVg', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "fAPqqrDdYKjZYehn85RK",
"expires_in": 3599,
"id_token": {
"at_hash": "4pWhvxcMw1Q4xn0MGa_t0A",
"aud": [
"DtYOb7ulMFptG7ulnOtL"
],
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560758753,
"iat": 1560755333,
"iss": "https://isamfed.com:30443/test",
"nonce": "kJ6dGra9txh1Xex5",
"rt_hash": "uMNqIMOaXiBKgIW1OELfUQ",
"sub": "testuser"
},
"refresh_token": "WAOIqnj1Vw3Cc22lb3L4V2B0Pw0kjaNKbEchsdsf",
"scope": "openid email",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'Z6fqmwjVpycuaN0J', 'method': 'GET', 'authn_method': 'bearer_header'}
|
3 | request | {'body': None} |
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
3 | request_http_args | {'headers': {'Authorization': 'Bearer fAPqqrDdYKjZYehn85RK'}} |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
4 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"sub": "testuser"
}
|
4 | phase | <--<-- 6 --- Done -->--> |
4 | end | |
4 | assertion | VerifyScopes |
4 | condition | verify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned] |
4 | assertion | CheckHTTPResponse |
4 | condition | check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks] |
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 |