0 | phase | <--<-- 0 --- Note -->--> |
1 | phase | <--<-- 1 --- Webfinger -->--> |
1 | not expected to do | WebFinger |
1 | phase | <--<-- 2 --- Discovery -->--> |
1 | 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_encryption_alg_values_supported": [
"A128KW"
],
"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"
}
|
1 | phase | <--<-- 3 --- Registration -->--> |
1 | not expected to do | Dynamic registration |
1 | phase | <--<-- 4 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"claims_locales": "test",
"client_id": "clientID",
"nonce": "sEXh7xL5cIov8cfd",
"redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
"response_type": "code id_token",
"scope": "openid",
"state": "3iVfgG95r2Xy5NZT"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=3iVfgG95r2Xy5NZT&nonce=sEXh7xL5cIov8cfd&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&claims_locales=test&client_id=clientID |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=3iVfgG95r2Xy5NZT&nonce=sEXh7xL5cIov8cfd&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&claims_locales=test&client_id=clientID |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | state=3iVfgG95r2Xy5NZT&code=48SjAvqRaq1hrHEWv05zCjX8MG8nof&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.5K4GTVQdrj9pS4sbvdZo4MSjz_x1iTPIrWYMvEMgebRK5J5U5slU2Q.Xu2y_jzVGsktjlumxsiIvg.PKrRmfSIW-4SfAr2TBnFsca578xxvLuvetafbUkHrQrsDIZTTDkHX3lhGBycv1MY7jHOWgNLxhkCXQgcFehXBBDaHX_TFbKIe5Jk3YytBjkg1C0CbyM8_NrQXiG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OWgNLxhkCXQgcFehXBBDaHX_TFbKIe5Jk3YytBjkg1C0CbyM8_NrQXiGPvPRQ4odjqbwqU6v5gdFY3hiBGfDrY4Xr_2FRzbGY5NjOJg45ejT7TPNsYbrMk7uF3JL7ejRH9qp6S0gytt5O51YOEAQEHySl1VugBq_YdW06XDySwEHvq3DNzahRobXssI3YTsvuR_6DQ-d4cXMfBbw-p7VfS7s38c3BE_d02qF-Sarqb-iNahBvM1BMde94RNRzI6mN6MR29MfK6J8V4InHnnANIdtEWT6ULCeLJj2FWC0deRNUVjKgp9EeiH--TB8adcgM__S5CSBCAjWbdfJVDO_VnrLeAHcEVXEUFpEwI89wnvJmunOUU-tRIzvqyJbDAFA8ioJ7t_zIWcytZlxgmrR_lVDlWiC_GSEvdH7zji9jboy_p35OxHzJjFI06tFRjQFMedtvje7-c4pXA_lMtd5jn9SX9Fj5G5BT9aSWIplfqOPdDEdzM2RS3Xbugn4xP18RiKHuGrsugf7mAZxvCOh0TMCYX01cueaKvdYhgCX0Gu0mpVlc26Cc48fRUAwLQG3teWfZ2kz602TJoAS9erFBZgTz7R4X2nqBGMuRFJHD8rRaWP_yZdXJ4hx8jhVXXYL9evzN7wBZXSImY-TusSDtipFoHCxmTsnACRRUGHG5LisGPDc7lvLHensIyUyQYCm3FQFbTbATZVox7umQMDbmRmYL394fXjyLOURPMPn6jgxWiAc4o5Gk8K07SPn5HhDd7K_ztM4m1ceuZtFAlwaqKK7_l2QNWq3Tdzo-7YL_tKKHeoHQYw9XCGYMQS13.wvtwbIV0AJ_C4ShHW1I_Hg'} |
2 | AuthorizationResponse | {
"code": "48SjAvqRaq1hrHEWv05zCjX8MG8nof",
"id_token": {
"aud": [
"clientID"
],
"c_hash": "eADFQSqrRixl4-X14FpqWA",
"exp": 1560834975,
"iat": 1560831555,
"iss": "https://isamfed.com:30443/test",
"nonce": "sEXh7xL5cIov8cfd",
"sub": "testuser"
},
"state": "3iVfgG95r2Xy5NZT"
}
|
2 | phase | <--<-- 5 --- AccessToken -->--> |
2 | request | op_args: {'state': '3iVfgG95r2Xy5NZT'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb', 'code': '48SjAvqRaq1hrHEWv05zCjX8MG8nof', 'state': '3iVfgG95r2Xy5NZT', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': '3iVfgG95r2Xy5NZT', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "48SjAvqRaq1hrHEWv05zCjX8MG8nof",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
"state": "3iVfgG95r2Xy5NZT"
}
|
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
2 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
2 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&code=48SjAvqRaq1hrHEWv05zCjX8MG8nof&state=3iVfgG95r2Xy5NZT |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'I29CT4UU9hoZiLAL7EMu', 'refresh_token': 'RaRNgQdmZcpAJF8wQZLbhxb8ebyKQ5109FepVJk5', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.cfRvT9WwxmDsbkjC4E7FZqR_lHc_KuFZ7WkGsIJjYL0O3JLH_YhlIw.Iilq11uuHV7lJvQf5PCx4g.x9I5Od9QUhqdFPaD1WJHucp-MX0IIgfTbIjCBt04X_EeSv5F8B4MeZ_fu0N3NegpRokNrij9PdfjT6oiB60Htn3_rol_erg1AUYKv6oJkL-lXRq0hS4eG1sQI-HW5QHTVrnvZ_hm7TfbqWkJlxdssGBmxL0u0ChrEO-r_rhz3IukRBxh9Y0gKuu88iBnzMRjXQbfvEKWhADuzFUYycf0rc_pI8H99XbRndOuaFBz__c4WoviS2A1THk8i4196jTG0yC0VqRmMGojZaY86s1ZcLIS3WXf40QUwALung3KwnXZN487ebZogfF8_oRyt_jDYa3wD8XGkretMxHI0sDPtbSq8F1jFKjTMnD_rxJdIgWGbh7xxdvpEJP--RgkDUeNImhrf0nM_K7b8NeuJ97w7te9le1QcQZI9rIj--m0KK57nAI5w1sThHlMnkuwJsKJHYT0Po9VkWjoicTPjlGOgXTvQ_mu7ajBIAUu4pbXg4wC7fEjHNV4tD5wTQ1YaSkdAtXtF2usFT6s8sgLK6RDJMIGU2mZqhbvCvTxF1OdHOm0JauWH3_dCNyS6NCp5EHhQOfGuvorDo_cF0LGBYWSUsl1AiSAaay1tJTnEdtVkQhYVvUXgSQ3yJgLxDvwfG4q80_x0wHQwV7D1x6wdw5CME6l2_Vzvfq9oSHxa1shQhY2s-6zEOVZHxw3RrJZaM1Ch28_Z3_UVYIbMnYviLLHpcBd_RX98pimSU6RP1j5-MAApkcigJzPJLrju1FUX-G_amBBqt-DlvO5K1_apLCpXcc7RoewtIYv_4C7kmILI9hrwjf1hSdwDjiGOUQq7pNSdBLDXdyQF40qg8YMdSr_kt8O1N418YowD1aXDlJmYXclWsCdA9TJES4m_1fmsQ8LGl2lMi41mNT57aaXbg63Ezr10hUBTSS-iNZBk9RU_ZJ54drBulv48gsAykU0_iSN.okocHAa72Kz__TrW1YhA_w', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "I29CT4UU9hoZiLAL7EMu",
"expires_in": 3599,
"id_token": {
"at_hash": "osbZgu45EZtDQ_kuuXB8-A",
"aud": [
"clientID"
],
"exp": 1560834977,
"iat": 1560831557,
"iss": "https://isamfed.com:30443/test",
"nonce": "sEXh7xL5cIov8cfd",
"rt_hash": "5zAZTIvBTr_nVBrVC_Ci0w",
"sub": "testuser"
},
"refresh_token": "RaRNgQdmZcpAJF8wQZLbhxb8ebyKQ5109FepVJk5",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | jwe header | {'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'} |
3 | phase | <--<-- 6 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': '3iVfgG95r2Xy5NZT', '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 I29CT4UU9hoZiLAL7EMu'}} |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
4 | OpenIDSchema | {
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"sub": "testuser"
}
|
4 | phase | <--<-- 7 --- DisplayUserInfo -->--> |
4 | phase | <--<-- 8 --- Done -->--> |
4 | end | |
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 | condition | Done: status=OK |