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": [
"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"
}
|
0 | phase | <--<-- 2 --- Registration -->--> |
0 | not expected to do | Dynamic registration |
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "clientID",
"nonce": "Xn7WRBebGPtfD9Vr",
"redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
"response_type": "code id_token",
"scope": "openid",
"state": "lriuNGMjowE8VQg7"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=lriuNGMjowE8VQg7&nonce=Xn7WRBebGPtfD9Vr&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=lriuNGMjowE8VQg7&nonce=Xn7WRBebGPtfD9Vr&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID |
1 | http args | {} |
1 | response | URL with fragment |
1 | response | id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.UWq4l_ebsamDtmVH4jop1T3WmKMEm3rbeQLlswK5M9RFu_Rw7ytHDA.cxV9YEGzBL9kbW-RwEE-Yw.xf1QqmiofB-_BSmxoAch-AkbF89I6_vPUYwxx-dWixvBeAsSSYloc_UkrFF6dhVu_xzjPgHmUj0LmoQWZC9aIAS4HM83gAxnoZlgfrItLnn9E2c33zKy83Flm5ClFZVTuhm_hn7BPs1VKAc06YRy-55nKIb1EnicwNEcqF1iqVxlVX0rOFGKPwbP1ShiqfIcQcCFA2sbT7gL4nl5beQXp2ezXxFvRV9NLSxj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55nKIb1EnicwNEcqF1iqVxlVX0rOFGKPwbP1ShiqfIcQcCFA2sbT7gL4nl5beQXp2ezXxFvRV9NLSxjeCbFcgLoVacvGVdl2Kt4RhudDmnjf8ZW58RVg7xNU9Hl3VTuMjw1A3j8ItSSNBqmh8EmN6uoEQj8O9AAMenugT_L_8QFUSdk6vSjGCqWV9Xqkihw0uKpQ7k7RpYby-yw_cYzzkUSCeZh_Tw5KuZTWn8Y5yc5E-piy3PIR7_Fz2kZsgJB4_DujP2N_zbXMWqYx8K6jV-EA1eTEm74uRzgHAqyRaBnajAqkw2Pv99FFKvYzW92Fx0Ka6qlNIe4CuMdhYc5mBcRB95sEQyprApYXw0XvQwg9Dl2M5bc9NYR6z_HzzhgZObg2VpMg0hCrkrwusvJJDQj8cH_QBamDwVkGWM6TvEKzeC_91G5pgNMqe5zfpoHTCG6BqMOto3txlNGUPj_GP1diPO31Q_SqrEvnpmYXRpiRphkQwMEn8L4VqA2AHuEp9sNZ6sDcP3Cjk4ZB6ZQt7QfP4MVP2OEUK0yZdo3zVFSRqUwDezlfbB7t25cvPL-A9wSQ0m_w3gqcl-BjzBQboYyXF4K6tfeV5apCt_5LxfwglEc5xvs2gBN0Q0i4qSu7jojsd-cB6WqoyMQVi0GM2qs5e9B6wbHv9IliUOgdHtpSPvEF2N0Qn2NzcOnRPxEkoq8TaqxjfOQQL4nAl8y7LqZ2wvaF6M9edo5-utAFOGD.XypxAPr7f-ndnx6dzBFqww', 'state': 'lriuNGMjowE8VQg7', 'code': 'SP8OliWT3gkZzWxZqT9bTY8FAFYDaQ'} |
2 | AuthorizationResponse | {
"code": "SP8OliWT3gkZzWxZqT9bTY8FAFYDaQ",
"id_token": {
"aud": [
"clientID"
],
"c_hash": "4dBNNnWsQq2HKSASLjwPoQ",
"exp": 1560834897,
"iat": 1560831477,
"iss": "https://isamfed.com:30443/test",
"nonce": "Xn7WRBebGPtfD9Vr",
"sub": "testuser"
},
"state": "lriuNGMjowE8VQg7"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'lriuNGMjowE8VQg7'}, 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': 'SP8OliWT3gkZzWxZqT9bTY8FAFYDaQ', 'state': 'lriuNGMjowE8VQg7', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'lriuNGMjowE8VQg7', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "SP8OliWT3gkZzWxZqT9bTY8FAFYDaQ",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
"state": "lriuNGMjowE8VQg7"
}
|
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=SP8OliWT3gkZzWxZqT9bTY8FAFYDaQ&state=lriuNGMjowE8VQg7 |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'todVAlNi6Uw40H887kP0', 'refresh_token': 'QtBh2MXjO2CyPtxey9eBH0sHYO2Yp07vVaIgZhAJ', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.hXFaRZ6unusGpS7U2faX_UXYMrRv4rr_oMYkSsJ4ujSJb-jjzVvojg.KR9Kpy8Vrtca4GH9PqN6eA.rgKBptUAifQohxc0WZ_MLLBKDum16PYLcknPJCnq2-BX71sLyvlDtaxhJcCTyRMVWBc0ga7--kii5jQ8_Q3tXddRDag5kq75oewIEZUtgzqxJuEZ9dKWUf9OA6vpFoeGZdmwTyC3FNCeqLgvHD8u0Z75keNOfTp0QI3wWVIR_UegKoCfYA_TkN35XiUNhFy0Yw8yKf42pDtBKCEg73cnuTP0dGtHolE1TfKMjcHtPympRyjFc9N1VacseFLQb34_T56wiHXTvfRaxrK3BZ4iCLxACzFGvkv_3BQ_ZIQqtrz_uPxXG7UO4gHRIe7VGxhSnN0WREhCvvyt-KTBIj3fGxJbehl9ZQibLg8Qx7qJx6QJX8ZrbTGltDzfWCOO_BzDd-o767jem2GNYSjdAqZWAZNRURo7w2lgxa6nuMfqAEFlEZhc6Y6LuuKvn-JhLeuQYCUIYbZ4fcg-0a_aSpZUKwwrdAfVYtyorimx7jsDLJ_CHKScnMwLf_SqbSLzk49-APV-M4vN6DQq4LBTbvfeI1QCaCm7hiXbQnmXkAcpiWv2u0hcjfMb4SqDfqAmdNqF30TxEODF-P-X0zl4mMbXbomBrLfDqsBBGtgRJzMllspOhYnmrKABTJGOiLh3VIztuxwGP2C2eP30Ps5pAKVApwVW897QS6aoJsijpLqcR1tkxillJdQxG3eHwXxRCmk0vC_S9jR4Atid3uncm-WIHlpcsGAF5hJNHyhPBLiM1DU_S0FTXmfB9Z9EQF_bTtwCdectLfTiHSRIkdDLran8g3hmGQNlpanAQJpDIATi6bGTiWLmKxOBtJ8rUIyye688KpU94Y_Uc3F4T2I-wv9OXSM25sgNBDsLftzHCI5s12eos0ZIYWZFn5P4-cD4ynp7_inLW5BnecZvuMTOaJGiVARZCisTTcZ6T-iQZKzghmojszbvoig-5dJgr45Bfivn.PUKbo2gvBGQasnGsc17nRA', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "todVAlNi6Uw40H887kP0",
"expires_in": 3599,
"id_token": {
"at_hash": "6G9jSYv320sYMMFGQI5Wyg",
"aud": [
"clientID"
],
"exp": 1560834898,
"iat": 1560831478,
"iss": "https://isamfed.com:30443/test",
"nonce": "Xn7WRBebGPtfD9Vr",
"rt_hash": "btC-JrL9CYA-y2ET7y-Bbw",
"sub": "testuser"
},
"refresh_token": "QtBh2MXjO2CyPtxey9eBH0sHYO2Yp07vVaIgZhAJ",
"scope": "openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | jwe header | {'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'lriuNGMjowE8VQg7', 'method': 'POST', 'authn_method': 'token_in_message_body'}
|
2 | request | {'body': 'access_token=todVAlNi6Uw40H887kP0'} |
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
2 | request_http_args | {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"sub": "testuser"
}
|
3 | phase | <--<-- 6 --- Done -->--> |
3 | end | |
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 |