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 | not expected to do | Dynamic registration |
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "clientID",
"nonce": "2697BUHkzuyCx1aU",
"redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
"response_type": "code id_token token",
"scope": "openid profile email address phone",
"state": "ZVuMxQMZx3H4xZmp"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=ZVuMxQMZx3H4xZmp&nonce=2697BUHkzuyCx1aU&response_type=code+id_token+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=ZVuMxQMZx3H4xZmp&nonce=2697BUHkzuyCx1aU&response_type=code+id_token+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID |
4 | http args | {} |
4 | response | URL with fragment |
4 | response | access_token=IRI8OFx6YU8zzemdkF2a&state=ZVuMxQMZx3H4xZmp&expires_in=3599&token_type=bearer&code=BhGTmYSKD4GVOxyOazY1L9hC7EKypq&scope=address%20phone%20openid%20profile%20email&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJub25jZSI6IjI2OTdCVUhrenV5Q3gxYVUiLCJlbWFpbCI6InRlc3RfaXNhbWZlZEBnbWFpbC5jb20iLCJwaG9uZV9udW1iZXIiOiI4NzY1NDIxNSIsImlhdCI6MTU2MDc1OTgwNCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Im1TWEdFUmN2X1h1VE93dzJiM0l4ZlEiLCJzdWIiOiJ0ZXN0dXNlciIsImNfaGFzaCI6IjM1NkdBbE4yNS0wRDZBQmpjNUdlWmciLCJuYW1lIjoiaXNhbWZlZCB0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzIyNCwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJhdWQiOiJjbGllbnRJRCJ9.IsfSAxmFUpAZgpbMNBfL7zyUrVgc7ldq7fRZrE2FWlmRgGmZxcYbvkPMB2NQc6CtqXPK-1Lt41_Fs6JzVfdqrA4bymvq6bPTrBdrH6iatoq0zXOEbRLDA62JjB3TUy1O8pgWpFvGRl1NPMRhrr0BfQe5d8uVrCILGXAj3pXdWNvItruZpvhI0wLGo_DfYcpanwNroAGQPvfpj2OANuK-ViDanfzb0IlMFiMDJjxoN3dkrUlc6OxY06d_eK9FNtl4IStKsZ8cLWt8CDy_baKwIyn8CkT41-LjqDbjkmeINshk6s3ifbLI3cTc76q8CIeBW4w0v6Guiqh7x0ObcAzMDQ |
4 | response | {'access_token': 'IRI8OFx6YU8zzemdkF2a', 'state': 'ZVuMxQMZx3H4xZmp', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'BhGTmYSKD4GVOxyOazY1L9hC7EKypq', 'scope': 'address phone openid profile email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJub25jZSI6IjI2OTdCVUhrenV5Q3gxYVUiLCJlbWFpbCI6InRlc3RfaXNhbWZlZEBnbWFpbC5jb20iLCJwaG9uZV9udW1iZXIiOiI4NzY1NDIxNSIsImlhdCI6MTU2MDc1OTgwNCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Im1TWEdFUmN2X1h1VE93dzJiM0l4ZlEiLCJzdWIiOiJ0ZXN0dXNlciIsImNfaGFzaCI6IjM1NkdBbE4yNS0wRDZBQmpjNUdlWmciLCJuYW1lIjoiaXNhbWZlZCB0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzIyNCwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJhdWQiOiJjbGllbnRJRCJ9.IsfSAxmFUpAZgpbMNBfL7zyUrVgc7ldq7fRZrE2FWlmRgGmZxcYbvkPMB2NQc6CtqXPK-1Lt41_Fs6JzVfdqrA4bymvq6bPTrBdrH6iatoq0zXOEbRLDA62JjB3TUy1O8pgWpFvGRl1NPMRhrr0BfQe5d8uVrCILGXAj3pXdWNvItruZpvhI0wLGo_DfYcpanwNroAGQPvfpj2OANuK-ViDanfzb0IlMFiMDJjxoN3dkrUlc6OxY06d_eK9FNtl4IStKsZ8cLWt8CDy_baKwIyn8CkT41-LjqDbjkmeINshk6s3ifbLI3cTc76q8CIeBW4w0v6Guiqh7x0ObcAzMDQ'} |
4 | AuthorizationResponse | {
"access_token": "IRI8OFx6YU8zzemdkF2a",
"code": "BhGTmYSKD4GVOxyOazY1L9hC7EKypq",
"expires_in": 3599,
"id_token": {
"at_hash": "mSXGERcv_XuTOww2b3IxfQ",
"aud": [
"clientID"
],
"c_hash": "356GAlN25-0D6ABjc5GeZg",
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560763224,
"iat": 1560759804,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "2697BUHkzuyCx1aU",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
},
"scope": "address phone openid profile email",
"state": "ZVuMxQMZx3H4xZmp",
"token_type": "bearer"
}
|
4 | phase | <--<-- 4 --- AccessToken -->--> |
4 | request | op_args: {'state': 'ZVuMxQMZx3H4xZmp'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb'} |
4 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb', 'code': 'BhGTmYSKD4GVOxyOazY1L9hC7EKypq', 'state': 'ZVuMxQMZx3H4xZmp', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'ZVuMxQMZx3H4xZmp', 'authn_method': 'client_secret_basic'}
|
4 | AccessTokenRequest | {
"code": "BhGTmYSKD4GVOxyOazY1L9hC7EKypq",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
"state": "ZVuMxQMZx3H4xZmp"
}
|
4 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
4 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
4 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&code=BhGTmYSKD4GVOxyOazY1L9hC7EKypq&state=ZVuMxQMZx3H4xZmp |
5 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
5 | response | {'access_token': 'lhfr45EuyAmjgAHlUZhB', 'refresh_token': 'rfjCMMTMr7aOyh6nnVLhAJFDHY9uHXZ5jEcMgGtj', 'scope': 'address phone openid profile email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJydF9oYXNoIjoiVUQwenpJeWV0Vl84Qmh4N01UdXlZdyIsIm5vbmNlIjoiMjY5N0JVSGt6dXlDeDFhVSIsImVtYWlsIjoidGVzdF9pc2FtZmVkQGdtYWlsLmNvbSIsInBob25lX251bWJlciI6Ijg3NjU0MjE1IiwiaWF0IjoxNTYwNzU5ODA2LCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiWGdPOFZRbktGOGxWZGM5SDE5VU1FdyIsInN1YiI6InRlc3R1c2VyIiwibmFtZSI6ImlzYW1mZWQgdGVzdHVzZXIiLCJleHAiOjE1NjA3NjMyMjYsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiYXVkIjoiY2xpZW50SUQifQ.fohbaxO_eZWY_t34GZy5jj8Fnos7UCPZF8jqG8MhM5VHV9mFNdREnsDwNsKvvFGShjesVnOvfHVyWKqw9aEcx5lagyNxVrCPVDOhvjd71HwLKZl-NKOtOT7kBjD0tijaWN4d6qbYIKQ91BBiZJDSHyhqEd0MRhx5NGNQwY00TOCHBQR2uyuwaCQlYaxxol5EtV8oZ3X0KY1pIRkef0Cai2IIQSRKsdHlgLdeI9azN8IvZy9EQrv-HoOnM4Xv4a_tvIsxRxDBeyuHNINQksYcY7sc9VF8czdhLagcOQoCYPOfz5-D2wm5qOTV1YkvRlNa3JcZL17k8BlMMBxknUHKmw', 'token_type': 'bearer', 'expires_in': 3599} |
5 | AccessTokenResponse | {
"access_token": "lhfr45EuyAmjgAHlUZhB",
"expires_in": 3599,
"id_token": {
"at_hash": "XgO8VQnKF8lVdc9H19UMEw",
"aud": [
"clientID"
],
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560763226,
"iat": 1560759806,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "2697BUHkzuyCx1aU",
"phone_number": "87654215",
"phone_number_verified": false,
"rt_hash": "UD0zzIyetV_8Bhx7MTuyYw",
"sub": "testuser"
},
"refresh_token": "rfjCMMTMr7aOyh6nnVLhAJFDHY9uHXZ5jEcMgGtj",
"scope": "address phone openid profile email",
"token_type": "bearer"
}
|
5 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
5 | phase | <--<-- 5 --- UserInfo -->--> |
5 | do_user_info_request | kwargs:{'state': 'ZVuMxQMZx3H4xZmp', 'method': 'GET', 'authn_method': 'bearer_header'}
|
5 | request | {'body': None} |
5 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
5 | request_http_args | {'headers': {'Authorization': 'Bearer lhfr45EuyAmjgAHlUZhB'}} |
6 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
6 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
6 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
6 | phase | <--<-- 6 --- Done -->--> |
6 | end | |
6 | assertion | VerifyScopes |
6 | condition | verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['given_name', 'family_name', 'middle_name', 'nickname', 'profile', 'picture', 'website', 'gender', 'birthdate', 'zoneinfo', 'locale', 'updated_at', 'preferred_username', 'address'] [Verifies that the claims corresponding to the requested scopes are returned] |
6 | assertion | CheckHTTPResponse |
6 | 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] |
6 | assertion | VerifyResponse |
6 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
6 | condition | Done: status=OK |