0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | 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_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 | <--<-- 2 --- Registration -->--> |
1 | 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', 'userinfo_signed_response_alg': 'RS256'}
|
1 | 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",
"userinfo_signed_response_alg": "RS256"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "iUpNGe4KsUTcfSIVySKz",
"client_id_issued_at": 1560755249,
"client_secret": "8PCeLklS6sRFBVQx8vzv",
"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": "rqwLVg3f2PS3mrb60zkH",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=iUpNGe4KsUTcfSIVySKz",
"response_types": [
"code",
"id_token",
"token"
],
"token_endpoint_auth_method": "private_key_jwt",
"userinfo_signed_response_alg": "RS256"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "iUpNGe4KsUTcfSIVySKz",
"nonce": "7SZf7FXTgq6T2mHX",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"response_type": "code id_token token",
"scope": "openid",
"state": "fjkeYkmUKqAsdy0C"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=fjkeYkmUKqAsdy0C&nonce=7SZf7FXTgq6T2mHX&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=iUpNGe4KsUTcfSIVySKz |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=fjkeYkmUKqAsdy0C&nonce=7SZf7FXTgq6T2mHX&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=iUpNGe4KsUTcfSIVySKz |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=XUjz1CUGgan18Pit9SLA&state=fjkeYkmUKqAsdy0C&expires_in=3599&token_type=bearer&code=4dMoOV6FgumxuvhL8qX3jA3ugYyopK&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IjdTWmY3RlhUZ3E2VDJtSFgiLCJpYXQiOjE1NjA3NTUyNTAsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJMM3g1RGItc2FySzFqVjhhZEpiaWx3Iiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NzAsImNfaGFzaCI6IldMSGEyTlZ3aXN6LTlDa3g2X3JXNmciLCJhdWQiOiJpVXBOR2U0S3NVVGNmU0lWeVNLeiJ9.cyLl_gZI3xYkBlPA3V0ZBIBkXUeR7LwhqZ4hloh7lZg-fk8phVTeACvyuEltRPQRF0csR0xnoUXpA6TjvUaGbiw32CkvKNuJu8Lpb7tcsl2X86p5fhY1OBUlDhBIfskjdTtdanQEYXjE474VIdaXTgpt8gzKg1UH6PlQx9HjRNF48mQNKxMunWnmsGsY6QQVAH3qYulZyMlSGQ8YowX2IkesFaIHIREHk0AlGBqFgOEYdhWr0nBaz2IVo7kKznSZ6hZ9Erbr_1oTstR-7EJDJnVXmolCjD0kPIGdPbVlsd3bkS-R7eMWWO3zFKtfsQx_LDCja5BFOp-dJHHEbqhk7g |
2 | response | {'access_token': 'XUjz1CUGgan18Pit9SLA', 'state': 'fjkeYkmUKqAsdy0C', 'expires_in': 3599, 'token_type': 'bearer', 'code': '4dMoOV6FgumxuvhL8qX3jA3ugYyopK', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IjdTWmY3RlhUZ3E2VDJtSFgiLCJpYXQiOjE1NjA3NTUyNTAsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJMM3g1RGItc2FySzFqVjhhZEpiaWx3Iiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NzAsImNfaGFzaCI6IldMSGEyTlZ3aXN6LTlDa3g2X3JXNmciLCJhdWQiOiJpVXBOR2U0S3NVVGNmU0lWeVNLeiJ9.cyLl_gZI3xYkBlPA3V0ZBIBkXUeR7LwhqZ4hloh7lZg-fk8phVTeACvyuEltRPQRF0csR0xnoUXpA6TjvUaGbiw32CkvKNuJu8Lpb7tcsl2X86p5fhY1OBUlDhBIfskjdTtdanQEYXjE474VIdaXTgpt8gzKg1UH6PlQx9HjRNF48mQNKxMunWnmsGsY6QQVAH3qYulZyMlSGQ8YowX2IkesFaIHIREHk0AlGBqFgOEYdhWr0nBaz2IVo7kKznSZ6hZ9Erbr_1oTstR-7EJDJnVXmolCjD0kPIGdPbVlsd3bkS-R7eMWWO3zFKtfsQx_LDCja5BFOp-dJHHEbqhk7g'} |
2 | AuthorizationResponse | {
"access_token": "XUjz1CUGgan18Pit9SLA",
"code": "4dMoOV6FgumxuvhL8qX3jA3ugYyopK",
"expires_in": 3599,
"id_token": {
"at_hash": "L3x5Db-sarK1jV8adJbilw",
"aud": [
"iUpNGe4KsUTcfSIVySKz"
],
"c_hash": "WLHa2NVwisz-9Ckx6_rW6g",
"exp": 1560758670,
"iat": 1560755250,
"iss": "https://isamfed.com:30443/test",
"nonce": "7SZf7FXTgq6T2mHX",
"sub": "testuser"
},
"scope": "openid",
"state": "fjkeYkmUKqAsdy0C",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'fjkeYkmUKqAsdy0C'}, 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': '4dMoOV6FgumxuvhL8qX3jA3ugYyopK', 'state': 'fjkeYkmUKqAsdy0C', 'grant_type': 'authorization_code', 'client_id': 'iUpNGe4KsUTcfSIVySKz'}, 'state': 'fjkeYkmUKqAsdy0C', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiaVVwTkdlNEtzVVRjZlNJVnlTS3oiLCAic3ViIjogImlVcE5HZTRLc1VUY2ZTSVZ5U0t6IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ5cDdwMjVZUHpabFFDR0xuQmdEWGNUQkl6NjAyY1g1cyIsICJleHAiOiAxNTYwNzU1ODUwLCAiaWF0IjogMTU2MDc1NTI1MH0.AIjvPf0ERS6210ZkysvjQsHdAYdNDmmAvitrkH6CIjA82CYlC2fJYXGE8CPy_A4DWkWUr4PvpsfPCZ9RvKLNgV64CxTcjrrTSLdmeG6qBgpRsfKTgk1p5sRpoM8R2wC7Br44HU3QlVFW6KVQwMQZntx9zwgd8WpgvLSN6-YMaPIwFILkBIce4RBGNEY-D6lttpFlEAc-hIJcNkEDYjGFG_-HhVNAS8GL0rpLjBCvZQt0TW_xIJDbFhQtabj2Jq9qdsIYMitZxhDT2-dbyM0gtbeIeQY5TvtcU3nqcFKqpTurlNvLqjb2j_J72yYU_p6HJ8Y1NShTT4N2ShB6rPsi5A",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "4dMoOV6FgumxuvhL8qX3jA3ugYyopK",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"state": "fjkeYkmUKqAsdy0C"
}
|
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=4dMoOV6FgumxuvhL8qX3jA3ugYyopK&state=fjkeYkmUKqAsdy0C&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiaVVwTkdlNEtzVVRjZlNJVnlTS3oiLCAic3ViIjogImlVcE5HZTRLc1VUY2ZTSVZ5U0t6IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ5cDdwMjVZUHpabFFDR0xuQmdEWGNUQkl6NjAyY1g1cyIsICJleHAiOiAxNTYwNzU1ODUwLCAiaWF0IjogMTU2MDc1NTI1MH0.AIjvPf0ERS6210ZkysvjQsHdAYdNDmmAvitrkH6CIjA82CYlC2fJYXGE8CPy_A4DWkWUr4PvpsfPCZ9RvKLNgV64CxTcjrrTSLdmeG6qBgpRsfKTgk1p5sRpoM8R2wC7Br44HU3QlVFW6KVQwMQZntx9zwgd8WpgvLSN6-YMaPIwFILkBIce4RBGNEY-D6lttpFlEAc-hIJcNkEDYjGFG_-HhVNAS8GL0rpLjBCvZQt0TW_xIJDbFhQtabj2Jq9qdsIYMitZxhDT2-dbyM0gtbeIeQY5TvtcU3nqcFKqpTurlNvLqjb2j_J72yYU_p6HJ8Y1NShTT4N2ShB6rPsi5A&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': 'PQdXaFI5Ed7SfpnNQ1Gg', 'refresh_token': 'Q6AXRP0NDxyzzGPtjzo9eH3g0wOzd73eu16FEg0t', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiM01uRHdnRzZ0X0R0QUNGWFZZTmxVdyIsIm5vbmNlIjoiN1NaZjdGWFRncTZUMm1IWCIsImlhdCI6MTU2MDc1NTI1MSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkRmSEpGYkNsWmpBYWhodkYxbnRoblEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODY3MSwiYXVkIjoiaVVwTkdlNEtzVVRjZlNJVnlTS3oifQ.gmTa_xGc7quVlKnjYYwFQYLV4ZNxmet4T7w9RNQdAsNMOZ0JLRtp5yrFIyYIDc5vyTg0fXdPhE5X3Qy4kIW2PHiL41zaehBD53fPtP_fa9WXqknDe5SWXRfsNbZR-WPba3pofgsgPjcE-I0FAO3R0t0C6pjHFD6F1rGn97wiekS5KkurDq7RbbveG_7Ls6FMoALNiKhmyaFxyIhyludHfvhbH6hRjlMqsoioNxwG8G9UcArQcwrR9W3z_cIq12ZqAPFEx45lg_R9t7QolVufPl76w36QrMSzazOq2rH3bbNvw20WFXFQcYsE6MFLLMqtpuRrsDS0YPEtAoBeHjakPg', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "PQdXaFI5Ed7SfpnNQ1Gg",
"expires_in": 3599,
"id_token": {
"at_hash": "DfHJFbClZjAahhvF1nthnQ",
"aud": [
"iUpNGe4KsUTcfSIVySKz"
],
"exp": 1560758671,
"iat": 1560755251,
"iss": "https://isamfed.com:30443/test",
"nonce": "7SZf7FXTgq6T2mHX",
"rt_hash": "3MnDwgG6t_DtACFXVYNlUw",
"sub": "testuser"
},
"refresh_token": "Q6AXRP0NDxyzzGPtjzo9eH3g0wOzd73eu16FEg0t",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'fjkeYkmUKqAsdy0C', 'method': 'GET', 'authn_method': 'bearer_header', 'ctype': 'jwt'}
|
3 | request | {'body': None} |
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
3 | request_http_args | {'headers': {'Authorization': 'Bearer PQdXaFI5Ed7SfpnNQ1Gg'}} |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
4 | OpenIDSchema | {
"aud": "iUpNGe4KsUTcfSIVySKz",
"iss": "https://isamfed.com:30443/test",
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"aud": "iUpNGe4KsUTcfSIVySKz",
"iss": "https://isamfed.com:30443/test",
"sub": "testuser"
}
|
4 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
4 | phase | <--<-- 6 --- Done -->--> |
4 | end | |
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 |