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"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "trBjI8DFaCflC4x7VqSL",
"client_id_issued_at": 1560755235,
"client_secret": "8X3oq5GTHy9bMonejdDi",
"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": "YE2q3E4ZQ9XVTkM77M6E",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=trBjI8DFaCflC4x7VqSL",
"response_types": [
"code",
"id_token",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "trBjI8DFaCflC4x7VqSL",
"nonce": "a6u62RBBJhZV0tnb",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"response_type": "code id_token token",
"scope": "openid",
"state": "pxcWITubQy8Ycbnz"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=pxcWITubQy8Ycbnz&nonce=a6u62RBBJhZV0tnb&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=trBjI8DFaCflC4x7VqSL |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=pxcWITubQy8Ycbnz&nonce=a6u62RBBJhZV0tnb&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=trBjI8DFaCflC4x7VqSL |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=9XPLH2VuWTLwcpT4Ej37&state=pxcWITubQy8Ycbnz&expires_in=3599&token_type=bearer&code=m9vJsOsIPC0E8s0xpgkmvBILehprwu&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImE2dTYyUkJCSmhaVjB0bmIiLCJpYXQiOjE1NjA3NTUyMzYsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiI3WW03SjBxYjlCMVdQendqREVIZ0JRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NTYsImNfaGFzaCI6IjUybTlWWWJJVU5oenpVdmdjTWdEZUEiLCJhdWQiOiJ0ckJqSThERmFDZmxDNHg3VnFTTCJ9.dGi0yS2vpR-3NLi20WLrp0DbCLAevUgX5k7z-ob-jLhb979Iqj6aJ7UteA8vlmh47jvwBNfXpaAONGULfRs-9XpmRfhBE-gtyikeEO-P7_Wk4vjlS6Mj_fehqCobA3QD52lBKCqM40OAh9r_z_-VoIQVq_ZAGmMjAYohIDnrAe1jnmnSstFp97mvb0BB_EubgguSzvbXgwu7yYCTtkBbfKXH_zSY4j1zgMTgc0n2dACGReLeKaumB77WIojVlvwq6HIXL3F2IYL8hvZYE2AIeYWUSuXQ9Qz1lvGuEAg2j2RmheXVSOm6Nw2QvaQgKgMX_LWCfFV2ag6F844Maoi4fg |
2 | response | {'access_token': '9XPLH2VuWTLwcpT4Ej37', 'state': 'pxcWITubQy8Ycbnz', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'm9vJsOsIPC0E8s0xpgkmvBILehprwu', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImE2dTYyUkJCSmhaVjB0bmIiLCJpYXQiOjE1NjA3NTUyMzYsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiI3WW03SjBxYjlCMVdQendqREVIZ0JRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NTYsImNfaGFzaCI6IjUybTlWWWJJVU5oenpVdmdjTWdEZUEiLCJhdWQiOiJ0ckJqSThERmFDZmxDNHg3VnFTTCJ9.dGi0yS2vpR-3NLi20WLrp0DbCLAevUgX5k7z-ob-jLhb979Iqj6aJ7UteA8vlmh47jvwBNfXpaAONGULfRs-9XpmRfhBE-gtyikeEO-P7_Wk4vjlS6Mj_fehqCobA3QD52lBKCqM40OAh9r_z_-VoIQVq_ZAGmMjAYohIDnrAe1jnmnSstFp97mvb0BB_EubgguSzvbXgwu7yYCTtkBbfKXH_zSY4j1zgMTgc0n2dACGReLeKaumB77WIojVlvwq6HIXL3F2IYL8hvZYE2AIeYWUSuXQ9Qz1lvGuEAg2j2RmheXVSOm6Nw2QvaQgKgMX_LWCfFV2ag6F844Maoi4fg'} |
2 | AuthorizationResponse | {
"access_token": "9XPLH2VuWTLwcpT4Ej37",
"code": "m9vJsOsIPC0E8s0xpgkmvBILehprwu",
"expires_in": 3599,
"id_token": {
"at_hash": "7Ym7J0qb9B1WPzwjDEHgBQ",
"aud": [
"trBjI8DFaCflC4x7VqSL"
],
"c_hash": "52m9VYbIUNhzzUvgcMgDeA",
"exp": 1560758656,
"iat": 1560755236,
"iss": "https://isamfed.com:30443/test",
"nonce": "a6u62RBBJhZV0tnb",
"sub": "testuser"
},
"scope": "openid",
"state": "pxcWITubQy8Ycbnz",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'pxcWITubQy8Ycbnz'}, 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': 'm9vJsOsIPC0E8s0xpgkmvBILehprwu', 'state': 'pxcWITubQy8Ycbnz', 'grant_type': 'authorization_code', 'client_id': 'trBjI8DFaCflC4x7VqSL'}, 'state': 'pxcWITubQy8Ycbnz', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAidHJCakk4REZhQ2ZsQzR4N1ZxU0wiLCAic3ViIjogInRyQmpJOERGYUNmbEM0eDdWcVNMIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJXRlhMc0FsV3FBUXhHMzhTRDloQzJRcU9zZ29xU1NrTSIsICJleHAiOiAxNTYwNzU1ODM3LCAiaWF0IjogMTU2MDc1NTIzN30.b0NLDroN0WBNE0Dac14TKr2C8gxnRFIXoGigcmOdkvxuNQxqh1H6pUVDxRCo5YeWrVQRNNyoNv5TUVvK1CPGFWJVaUI62BFDzNE0DJgPSDMtFzt2z9Xwts1dzpiLtVbHkI87ZbyakcybeqaZNEzEUbsqV5sONCaD__OqB98R9GYgzD15BDaSU668yFz_3xM01qqtpe7GbI6yjijjQpA_CjRz6Uc3t-6GBbM42YRPBUJ6Tj4-gGBlTAaisgU8JfuN3CyLMhnJ8wzLROBLTArVO23qOmYbFFycp11g38yDIpyIMNPIlmSquxYABB6v-gEXtmd45cGCDGAdsAYvviUk8A",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "m9vJsOsIPC0E8s0xpgkmvBILehprwu",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"state": "pxcWITubQy8Ycbnz"
}
|
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=m9vJsOsIPC0E8s0xpgkmvBILehprwu&state=pxcWITubQy8Ycbnz&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAidHJCakk4REZhQ2ZsQzR4N1ZxU0wiLCAic3ViIjogInRyQmpJOERGYUNmbEM0eDdWcVNMIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJXRlhMc0FsV3FBUXhHMzhTRDloQzJRcU9zZ29xU1NrTSIsICJleHAiOiAxNTYwNzU1ODM3LCAiaWF0IjogMTU2MDc1NTIzN30.b0NLDroN0WBNE0Dac14TKr2C8gxnRFIXoGigcmOdkvxuNQxqh1H6pUVDxRCo5YeWrVQRNNyoNv5TUVvK1CPGFWJVaUI62BFDzNE0DJgPSDMtFzt2z9Xwts1dzpiLtVbHkI87ZbyakcybeqaZNEzEUbsqV5sONCaD__OqB98R9GYgzD15BDaSU668yFz_3xM01qqtpe7GbI6yjijjQpA_CjRz6Uc3t-6GBbM42YRPBUJ6Tj4-gGBlTAaisgU8JfuN3CyLMhnJ8wzLROBLTArVO23qOmYbFFycp11g38yDIpyIMNPIlmSquxYABB6v-gEXtmd45cGCDGAdsAYvviUk8A&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': 'qJT6iy8LKi8P5H6F8gLI', 'refresh_token': 'MdG0wY5S0wRNJG9jDFozK7fgWzgIHb6449OOk4gP', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiNGZDMDctb2pBd2ZCbURPNnY0QzBHZyIsIm5vbmNlIjoiYTZ1NjJSQkJKaFpWMHRuYiIsImlhdCI6MTU2MDc1NTIzOCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IlBvTlU3Rlp2RnNFN1loX3M1OGwxc2ciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODY1OCwiYXVkIjoidHJCakk4REZhQ2ZsQzR4N1ZxU0wifQ.Dm3tqlqOraG9cbk64npUIczWeGBP_kE22csyb9qkW9eNSqnH9VSiHfHB67dYhMUFdWqJly7ZF03oWAjMWiw9gtCTmP6AxHs4YzQhsiCl2xf3KW-0_clolQj2OsuQyb9y_xMLe6sDvlu9CwzfQIbKNBIKh6fv28YofwXcP4NftTlfF4Tx15WbM_Gsdwf9wZR3BdtzqpV1fg8W3b3qfRnkc2W9-jHkS4eubKN5AtS9eLp6g2o1cXLAcbsUX3gH9jH-RadYhDjtDVFAIHMCndHz-L8I3OYkpb7uNePF8Xtc9KQrfN3fzxd7sNSr8Aa1w2It2qquWWW77N-ZoGABimWQGQ', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "qJT6iy8LKi8P5H6F8gLI",
"expires_in": 3599,
"id_token": {
"at_hash": "PoNU7FZvFsE7Yh_s58l1sg",
"aud": [
"trBjI8DFaCflC4x7VqSL"
],
"exp": 1560758658,
"iat": 1560755238,
"iss": "https://isamfed.com:30443/test",
"nonce": "a6u62RBBJhZV0tnb",
"rt_hash": "4fC07-ojAwfBmDO6v4C0Gg",
"sub": "testuser"
},
"refresh_token": "MdG0wY5S0wRNJG9jDFozK7fgWzgIHb6449OOk4gP",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'pxcWITubQy8Ycbnz', '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 qJT6iy8LKi8P5H6F8gLI'}} |
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 |