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_encryption_alg_values_supported": [
"RSA-OAEP-256"
],
"id_token_encryption_enc_values_supported": [
"A128CBC-HS256"
],
"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 token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61707/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61707/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61707/static/jwks_61707.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:61707/static/jwks_61707.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61707/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61707/authz_cb"
],
"response_types": [
"code 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": "g39oyv8QhyJvcSMo8M82",
"client_id_issued_at": 1560784270,
"client_secret": "lT5KOD2LRLOviHWRB5U0",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61707/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61707/authz_cb"
],
"registration_access_token": "9BfDt6s8YT8Ec3TFOhyk",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=g39oyv8QhyJvcSMo8M82",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "g39oyv8QhyJvcSMo8M82",
"nonce": "WK7OvWZGXUSuhJcK",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"response_type": "code token",
"scope": "openid profile email address phone",
"state": "vh9ayk0QSvx74BA0"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=vh9ayk0QSvx74BA0&nonce=WK7OvWZGXUSuhJcK&response_type=code+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=g39oyv8QhyJvcSMo8M82 |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=vh9ayk0QSvx74BA0&nonce=WK7OvWZGXUSuhJcK&response_type=code+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=g39oyv8QhyJvcSMo8M82 |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=5eM0hxyCmeH9oDdcbyzL&state=vh9ayk0QSvx74BA0&expires_in=3599&token_type=bearer&code=V81LidOSmsKlvcWAa8A5LNh8r6iZm7&scope=address%20phone%20openid%20profile%20email |
2 | response | {'access_token': '5eM0hxyCmeH9oDdcbyzL', 'state': 'vh9ayk0QSvx74BA0', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'V81LidOSmsKlvcWAa8A5LNh8r6iZm7', 'scope': 'address phone openid profile email'} |
2 | AuthorizationResponse | {
"access_token": "5eM0hxyCmeH9oDdcbyzL",
"code": "V81LidOSmsKlvcWAa8A5LNh8r6iZm7",
"expires_in": 3599,
"scope": "address phone openid profile email",
"state": "vh9ayk0QSvx74BA0",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'vh9ayk0QSvx74BA0'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'V81LidOSmsKlvcWAa8A5LNh8r6iZm7', 'state': 'vh9ayk0QSvx74BA0', 'grant_type': 'authorization_code', 'client_id': 'g39oyv8QhyJvcSMo8M82'}, 'state': 'vh9ayk0QSvx74BA0', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZzM5b3l2OFFoeUp2Y1NNbzhNODIiLCAic3ViIjogImczOW95djhRaHlKdmNTTW84TTgyIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICIwcUNkWUw2VEkwaExIb2pBQnBERWhJdThlTHU0M3FCRyIsICJleHAiOiAxNTYwNzg0ODcxLCAiaWF0IjogMTU2MDc4NDI3MX0.UbhQNvvQcHmq2WU8g3PteUsnvfudpIyh_FzoPqUZwVwHTbOc6oVH-dinlsz_NmG1MVURlfYfBSQcE4aD5kAGEtxzi6ElaLQWJ8Xzw_mQq8Of9jECjCCMhsy5kQHMGYpxn0zMGtVxNKSAuZBUc21GFzN8rP1yrWtHswIE5uVm_HWkdWnPJZXV4YXvD8OqP5Tc-BKwnnI6qn6KOOCgePIxBY-EYZkztiNYI8pvufAwXXMwZTfnXcP4p6GhHPrhG23LzWu5tZmktwb6M45EXuODR5WeltxYs7T_QU8i_Bk1NWrP4-lfWIUzXsXZeoKWKW3lPVMppCJdpNvyP_X3IEWm7A",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "V81LidOSmsKlvcWAa8A5LNh8r6iZm7",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"state": "vh9ayk0QSvx74BA0"
}
|
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%3A61707%2Fauthz_cb&code=V81LidOSmsKlvcWAa8A5LNh8r6iZm7&state=vh9ayk0QSvx74BA0&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZzM5b3l2OFFoeUp2Y1NNbzhNODIiLCAic3ViIjogImczOW95djhRaHlKdmNTTW84TTgyIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICIwcUNkWUw2VEkwaExIb2pBQnBERWhJdThlTHU0M3FCRyIsICJleHAiOiAxNTYwNzg0ODcxLCAiaWF0IjogMTU2MDc4NDI3MX0.UbhQNvvQcHmq2WU8g3PteUsnvfudpIyh_FzoPqUZwVwHTbOc6oVH-dinlsz_NmG1MVURlfYfBSQcE4aD5kAGEtxzi6ElaLQWJ8Xzw_mQq8Of9jECjCCMhsy5kQHMGYpxn0zMGtVxNKSAuZBUc21GFzN8rP1yrWtHswIE5uVm_HWkdWnPJZXV4YXvD8OqP5Tc-BKwnnI6qn6KOOCgePIxBY-EYZkztiNYI8pvufAwXXMwZTfnXcP4p6GhHPrhG23LzWu5tZmktwb6M45EXuODR5WeltxYs7T_QU8i_Bk1NWrP4-lfWIUzXsXZeoKWKW3lPVMppCJdpNvyP_X3IEWm7A&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': 'SpowpwIs1O3A7oL76rZO', 'refresh_token': 'vo6G4Ax2I5UC1MEgegzJhZrC82G2D2fe7PLgMkf8', 'scope': 'address phone openid profile email', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.nSZEOhHZK_G4sBb2OX7baEqUGLGxMNcQmusY5WYdOIKu2EACWrFX_jOuta24Hwm1TS-zmwXY88mS6XPjpQY4jMqR51a8UkC3a0Vwz39R5JycQ5i_czNc_GWAbJmTyrFxpGmhzf8LCXwg2K0g7VpnJGpdE0-EDnze-zkqTK_82z0Jb3K9tgxmXxMKvrPvmekkQv8Qs0tDHdkLABxmmvVo9WbgsfzJB6JkmNa2YfLSL9e02YqFiFPpKIEpcv4bn8vlAbTMoDJeYHqR1ZEGGGuBHd-GBX_-NANohzk5hibPNSPqFgJYTb_2DRRonpRpyrk--ByDOMwXSgUUJqYPNHAZtA.6Uu-BpMbuxUvNc8sr1t2fA.O3Z_SabGIZ7bJ2wO8W5w0ZKYfY6-fRfyHR1_zrYkc0hPxLEel_S-TWk6zYeAP2xdR1m9juwh0dsPbJ11AR4Ik9uYEdnd--O-7-zz3ggBkRZlwGKfcP_7pD_tmTFyirJjw6SEVFAulQoaU26HrD0rZi3Td4IaECYdkgaPA9dC-bKWTVwuJRdXDLhjKJauGVGKChFylKwy9sRmATk3Znj8fyGKku4lVn6-1Hv-m-Q4SMDC0yvhkiO2JRWjEPQgVHTnJN05m2Tx8mRKsorarImXfKiHShH4TeVXSRIHp8BFc8TP03_pSbRa1pc5H12vgsk7rAYcbgtpDmx8quZBrRu320VYAdkJ6JQvkqm5GGJmSB4wnGgA1i8ThZbm9p8FTdmU5sMgGqyoVR1MLkP2OEeTsaLwBnQmHX-BC77-KF6vged7yVF17E90wMyBLDeZ6RkiwjHkD9v2_dgBII8zW86rmPu6WFsIlAXLwO0dmGj1zg5zTjSqmHDksJY3fRocvsb9xfHy6yhVt9PPWmJDMfS0AS7SzDVSTVnGvbKyl_9BNTMIujzCrXWPV4MytEFh8CitSspAvtCE_MNPNmILCr9bvpb8AnOyRA7qbNosC7nVcd8XjbAEM_mrPHqYhVs_iNY_z3RkPa_3Bqb_JOVAcgLipRtBqyHCJx5nJEQONh2W6IpvLT0KCZdUe92MentEUuu2qI6nBcCryXDe4f0YHBnw4UrY1mtTsnnIQgsALTSx9c3-EpHo6xEETvTDox6--qFBD3JivLiClVPpEzjX6GdsHDP5kzcu_A25VCCF6cuhuT4885Np1T8bx8KahZNSPYpi2h2aF_E3pdKjgnmncBSes_n9KQrfYQbvQaflSqz9Godh5WRxqG2xBhvsMcroL77j6ClhnJNySX1v78CLTEU6SWHWFPKcZePcFtzrdAO2jiLYlfIqPkBmWrkesryJdJeEXZ6-snuFwW_4WaKSsPGYQRcMIaV2179xf1fuuhPTuKkbSrR066rZxLky0ktgFUOZMI446kR8eCvkszcM08pTLlI_d242AityPY9PvVu8RZxb_lyqr5S9y3QSWZnP7VwHHEJ4nAiIJ7cVKQrtXhFkEUY-av1xaeCc1fke6msfIUNL9ufcCqDYAPgNTZP7N6v6bo_aNqs4S8IgG0PZ93-hXEfGIDzv9gT2p7jLQiaYUgFYDcjaDNPsIoOhygXQQHIW.ug0gLO76N-v9UvsUoBsQhg', 'token_type': 'bearer', 'expires_in': 3599} |
4 | AccessTokenResponse | {
"access_token": "SpowpwIs1O3A7oL76rZO",
"expires_in": 3599,
"id_token": {
"at_hash": "qiTcgIgigsqGVnAOXURVBw",
"aud": [
"g39oyv8QhyJvcSMo8M82"
],
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560787692,
"iat": 1560784272,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "WK7OvWZGXUSuhJcK",
"phone_number": "87654215",
"phone_number_verified": false,
"rt_hash": "3_qbVHIDPl6u-oVwRUlp8g",
"sub": "testuser"
},
"refresh_token": "vo6G4Ax2I5UC1MEgegzJhZrC82G2D2fe7PLgMkf8",
"scope": "address phone openid profile email",
"token_type": "bearer"
}
|
4 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
4 | jwe header | {'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'} |
4 | phase | <--<-- 5 --- UserInfo -->--> |
4 | do_user_info_request | kwargs:{'state': 'vh9ayk0QSvx74BA0', 'method': 'GET', 'authn_method': 'bearer_header'}
|
4 | request | {'body': None} |
4 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
4 | request_http_args | {'headers': {'Authorization': 'Bearer SpowpwIs1O3A7oL76rZO'}} |
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,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
4 | phase | <--<-- 6 --- Done -->--> |
4 | end | |
4 | assertion | VerifyScopes |
4 | 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] |
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 |