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 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'}
|
0 | 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"
}
|
0 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
0 | RegistrationResponse | {
"application_type": "web",
"client_id": "BeKnC1ZGgrB5rRAGQj95",
"client_id_issued_at": 1560755321,
"client_secret": "e36BTWOf4oI2vXLVdGn1",
"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": "cjt7IWbZsGo4XXQr4IZ4",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=BeKnC1ZGgrB5rRAGQj95",
"response_types": [
"code",
"id_token",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "BeKnC1ZGgrB5rRAGQj95",
"nonce": "uyNX20XOWOAXMmBV",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"response_type": "code id_token token",
"scope": "openid profile email address phone",
"state": "KcGS0xpwiT3bfPXZ"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=KcGS0xpwiT3bfPXZ&nonce=uyNX20XOWOAXMmBV&response_type=code+id_token+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=BeKnC1ZGgrB5rRAGQj95 |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=KcGS0xpwiT3bfPXZ&nonce=uyNX20XOWOAXMmBV&response_type=code+id_token+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=BeKnC1ZGgrB5rRAGQj95 |
1 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=aO0UzP3mFsdEKdLqhOJt&state=KcGS0xpwiT3bfPXZ&expires_in=3599&token_type=bearer&code=r1VxGQ5v8998dw6NrT3ADvFx7qTX1w&scope=address%20phone%20openid%20profile%20email&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJub25jZSI6InV5TlgyMFhPV09BWE1tQlYiLCJlbWFpbCI6InRlc3RfaXNhbWZlZEBnbWFpbC5jb20iLCJwaG9uZV9udW1iZXIiOiI4NzY1NDIxNSIsImlhdCI6MTU2MDc1NTMyMiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkZmdG1BYzlGV01Tdms4YTZfUVhsTXciLCJzdWIiOiJ0ZXN0dXNlciIsImNfaGFzaCI6ImZnNzBpRUtRb0EteFhuODhkYXZWS2ciLCJuYW1lIjoiaXNhbWZlZCB0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODc0MiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJhdWQiOiJCZUtuQzFaR2dyQjVyUkFHUWo5NSJ9.i63nGv5JC9uPtvcLLmfe36J8WSKFnEh6kNyTjtepa7LvprKtCtJKdov-mxxPEyEaaD4N5_yHq72BW0HXvrL90HYH7WvMWf8KxXu_VX-VByXVLWtjDUq0C-yNQRyqPRso1dF9p_oKi9gwckuk2NXD59qbyjWION9k9_1nPXH05Et593o-X_0cQfnCMg5izsie3cFFbXJt6P5xKHcLBWi7KeKiBfF9KnG3vlRf_GGSX2RdkVuhGu8LzJ0AWJ1KonfiZGYR_w_InBnqwdGsdOm70xZI9YMka04muCwqlIeql5TVhB3CChK7E1fI6m6vNp6mdWVj_iJdGxNdZIREgmMDPg |
2 | response | {'access_token': 'aO0UzP3mFsdEKdLqhOJt', 'state': 'KcGS0xpwiT3bfPXZ', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'r1VxGQ5v8998dw6NrT3ADvFx7qTX1w', 'scope': 'address phone openid profile email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJub25jZSI6InV5TlgyMFhPV09BWE1tQlYiLCJlbWFpbCI6InRlc3RfaXNhbWZlZEBnbWFpbC5jb20iLCJwaG9uZV9udW1iZXIiOiI4NzY1NDIxNSIsImlhdCI6MTU2MDc1NTMyMiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkZmdG1BYzlGV01Tdms4YTZfUVhsTXciLCJzdWIiOiJ0ZXN0dXNlciIsImNfaGFzaCI6ImZnNzBpRUtRb0EteFhuODhkYXZWS2ciLCJuYW1lIjoiaXNhbWZlZCB0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODc0MiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJhdWQiOiJCZUtuQzFaR2dyQjVyUkFHUWo5NSJ9.i63nGv5JC9uPtvcLLmfe36J8WSKFnEh6kNyTjtepa7LvprKtCtJKdov-mxxPEyEaaD4N5_yHq72BW0HXvrL90HYH7WvMWf8KxXu_VX-VByXVLWtjDUq0C-yNQRyqPRso1dF9p_oKi9gwckuk2NXD59qbyjWION9k9_1nPXH05Et593o-X_0cQfnCMg5izsie3cFFbXJt6P5xKHcLBWi7KeKiBfF9KnG3vlRf_GGSX2RdkVuhGu8LzJ0AWJ1KonfiZGYR_w_InBnqwdGsdOm70xZI9YMka04muCwqlIeql5TVhB3CChK7E1fI6m6vNp6mdWVj_iJdGxNdZIREgmMDPg'} |
2 | AuthorizationResponse | {
"access_token": "aO0UzP3mFsdEKdLqhOJt",
"code": "r1VxGQ5v8998dw6NrT3ADvFx7qTX1w",
"expires_in": 3599,
"id_token": {
"at_hash": "FftmAc9FWMSvk8a6_QXlMw",
"aud": [
"BeKnC1ZGgrB5rRAGQj95"
],
"c_hash": "fg70iEKQoA-xXn88davVKg",
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560758742,
"iat": 1560755322,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "uyNX20XOWOAXMmBV",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
},
"scope": "address phone openid profile email",
"state": "KcGS0xpwiT3bfPXZ",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'KcGS0xpwiT3bfPXZ'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb', 'code': 'r1VxGQ5v8998dw6NrT3ADvFx7qTX1w', 'state': 'KcGS0xpwiT3bfPXZ', 'grant_type': 'authorization_code', 'client_id': 'BeKnC1ZGgrB5rRAGQj95'}, 'state': 'KcGS0xpwiT3bfPXZ', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiQmVLbkMxWkdnckI1clJBR1FqOTUiLCAic3ViIjogIkJlS25DMVpHZ3JCNXJSQUdRajk1IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI5VDZLVlZZVkFxUXRIMUdvNDJzeExCQUNTaDNzOWU4cyIsICJleHAiOiAxNTYwNzU1OTIzLCAiaWF0IjogMTU2MDc1NTMyM30.Z8x6zY_NQaBdAgLmCo0whWbdbcJuqtvqwP9_6PrPGv-5mqa2EPvpGZxId_R4N8I4YH-w39WQazXjNulKXtMg-uEAyhx7Vcb-yZZKoqAbwCtk3Tm9cit5NcMrH9Zi7rCFvqZA7lVDCyis_dLKzVWjQM88qKRbp3ErzdiG9mn5I_muvsJXp5wHkdgdoPexEPuKc0Bnorgt1GjwDWNGNqjdWOOo81aqbqo3WPvASjCDGgPPUyovz4q2uL44RTrBg7c8WYaadFxMUGaYxPIVUzTJUl2zQJHiQXIG1DWxo79uK8DSKO9UmSZiBaYHc6gJr9OzHpg5bJ9bfdvho-7hMlvmGA",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "r1VxGQ5v8998dw6NrT3ADvFx7qTX1w",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"state": "KcGS0xpwiT3bfPXZ"
}
|
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%3A61367%2Fauthz_cb&code=r1VxGQ5v8998dw6NrT3ADvFx7qTX1w&state=KcGS0xpwiT3bfPXZ&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiQmVLbkMxWkdnckI1clJBR1FqOTUiLCAic3ViIjogIkJlS25DMVpHZ3JCNXJSQUdRajk1IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI5VDZLVlZZVkFxUXRIMUdvNDJzeExCQUNTaDNzOWU4cyIsICJleHAiOiAxNTYwNzU1OTIzLCAiaWF0IjogMTU2MDc1NTMyM30.Z8x6zY_NQaBdAgLmCo0whWbdbcJuqtvqwP9_6PrPGv-5mqa2EPvpGZxId_R4N8I4YH-w39WQazXjNulKXtMg-uEAyhx7Vcb-yZZKoqAbwCtk3Tm9cit5NcMrH9Zi7rCFvqZA7lVDCyis_dLKzVWjQM88qKRbp3ErzdiG9mn5I_muvsJXp5wHkdgdoPexEPuKc0Bnorgt1GjwDWNGNqjdWOOo81aqbqo3WPvASjCDGgPPUyovz4q2uL44RTrBg7c8WYaadFxMUGaYxPIVUzTJUl2zQJHiQXIG1DWxo79uK8DSKO9UmSZiBaYHc6gJr9OzHpg5bJ9bfdvho-7hMlvmGA&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': 'TAXc4TxxAV9KI2MNvwrg', 'refresh_token': 'QG2KkSILmxxHNdCtmY4PE43y1SDUB3qnYaYTYD0B', 'scope': 'address phone openid profile email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJydF9oYXNoIjoiZ1lsUnFzaVNrMmVXTER6VG02QTNCdyIsIm5vbmNlIjoidXlOWDIwWE9XT0FYTW1CViIsImVtYWlsIjoidGVzdF9pc2FtZmVkQGdtYWlsLmNvbSIsInBob25lX251bWJlciI6Ijg3NjU0MjE1IiwiaWF0IjoxNTYwNzU1MzIzLCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiRUJvSktDSEpRS3lUeDdoNS0zanAtdyIsInN1YiI6InRlc3R1c2VyIiwibmFtZSI6ImlzYW1mZWQgdGVzdHVzZXIiLCJleHAiOjE1NjA3NTg3NDMsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiYXVkIjoiQmVLbkMxWkdnckI1clJBR1FqOTUifQ.z2UTV8ivvceXb6zdJszS54eG_yBY8C7r3i-6bD8ZIVoaQtUEXIwNSL1p9w0et2yB9370EKBXiZDCaZYoKeNN8ClHIh5yMt3f25j-T9EeXzOVigNuJEBkawmhTNmnuzibymySqYEkUDIvj8CT3A_qPwaBpnVg-RHzecrI6yVp6C0uGg_84jPFV2eIVT992h8yBbvo3xQsY24hV9HSt-Qq2Q0rnMDKzhNrO1MSFT5-uec3GaITw0mVFEq9mDCiBLEyErtQb3es-YKqwA228TukoR9rHBTRznBPjTyeCPR0S0b1hxCHnIYeK5LFAFnoMgeTNx9rFmlbdzDSKzi9yZ71lQ', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "TAXc4TxxAV9KI2MNvwrg",
"expires_in": 3599,
"id_token": {
"at_hash": "EBoJKCHJQKyTx7h5-3jp-w",
"aud": [
"BeKnC1ZGgrB5rRAGQj95"
],
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560758743,
"iat": 1560755323,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "uyNX20XOWOAXMmBV",
"phone_number": "87654215",
"phone_number_verified": false,
"rt_hash": "gYlRqsiSk2eWLDzTm6A3Bw",
"sub": "testuser"
},
"refresh_token": "QG2KkSILmxxHNdCtmY4PE43y1SDUB3qnYaYTYD0B",
"scope": "address phone openid profile email",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'KcGS0xpwiT3bfPXZ', '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 TAXc4TxxAV9KI2MNvwrg'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
3 | phase | <--<-- 6 --- Done -->--> |
3 | end | |
3 | assertion | VerifyScopes |
3 | 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] |
3 | assertion | CheckHTTPResponse |
3 | 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] |
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 |