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'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61365/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61365/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61365/static/jwks_61365.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
1 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code",
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61365/static/jwks_61365.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61365/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61365/authz_cb"
],
"response_types": [
"code id_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": "dTODV7VFpa8d8K9UCjKl",
"client_id_issued_at": 1560755696,
"client_secret": "cL3aCUnE3SU7dQ2kfP08",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code",
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61365/static/jwks_61365.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61365/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61365/authz_cb"
],
"registration_access_token": "eSmZacnUNvweDCSI6TS9",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=dTODV7VFpa8d8K9UCjKl",
"response_types": [
"code",
"id_token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "dTODV7VFpa8d8K9UCjKl",
"nonce": "cWxqSjXqXA8IE1Um",
"redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
"response_type": "code id_token",
"scope": "openid",
"state": "Q7SMNsH225ZxDiKJ"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Q7SMNsH225ZxDiKJ&nonce=cWxqSjXqXA8IE1Um&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=dTODV7VFpa8d8K9UCjKl |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Q7SMNsH225ZxDiKJ&nonce=cWxqSjXqXA8IE1Um&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=dTODV7VFpa8d8K9UCjKl |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImNXeHFTalhxWEE4SUUxVW0iLCJpYXQiOjE1NjA3NTU2OTYsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzU5MTE2LCJjX2hhc2giOiJfLWRHMGhkN1RhaUdVbGg0NjMtdnRBIiwiYXVkIjoiZFRPRFY3VkZwYThkOEs5VUNqS2wifQ.IPfNOLVxKRe6yGCWuEDtzq845ysKQ-H74K9VtQhFicLEKqvt7Rp6DvRT6zHk9IaQu6K6R5A9UmVz7Krb6QyZCxK8N4P1rBQiBdLgIFqaQ2JaNbWfOXsM8cMpq23eRF8iegw6evKBBBsN1KKRFuFVHc5ARHWg6SwAfio9RWtkLn-2C9IWJRWij72GSJuDPqtWLO6fc67kCtZY7UEBNIlybW68cd8YJ3ES1UKcacvYynBCwyCAPi-a_8KLYQFTHj5-9yCqdiwUNSd60ray9JDO0YQoImDDmIGotdEBOQIUKFb5i2valhsuPJrcil_o-XVERZmuhna_YvKJWh3b0jQn7w&state=Q7SMNsH225ZxDiKJ&code=aBFV9ClO7Hw6cXShLgHssxrZgtTdcZ |
2 | response | {'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImNXeHFTalhxWEE4SUUxVW0iLCJpYXQiOjE1NjA3NTU2OTYsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzU5MTE2LCJjX2hhc2giOiJfLWRHMGhkN1RhaUdVbGg0NjMtdnRBIiwiYXVkIjoiZFRPRFY3VkZwYThkOEs5VUNqS2wifQ.IPfNOLVxKRe6yGCWuEDtzq845ysKQ-H74K9VtQhFicLEKqvt7Rp6DvRT6zHk9IaQu6K6R5A9UmVz7Krb6QyZCxK8N4P1rBQiBdLgIFqaQ2JaNbWfOXsM8cMpq23eRF8iegw6evKBBBsN1KKRFuFVHc5ARHWg6SwAfio9RWtkLn-2C9IWJRWij72GSJuDPqtWLO6fc67kCtZY7UEBNIlybW68cd8YJ3ES1UKcacvYynBCwyCAPi-a_8KLYQFTHj5-9yCqdiwUNSd60ray9JDO0YQoImDDmIGotdEBOQIUKFb5i2valhsuPJrcil_o-XVERZmuhna_YvKJWh3b0jQn7w', 'state': 'Q7SMNsH225ZxDiKJ', 'code': 'aBFV9ClO7Hw6cXShLgHssxrZgtTdcZ'} |
2 | AuthorizationResponse | {
"code": "aBFV9ClO7Hw6cXShLgHssxrZgtTdcZ",
"id_token": {
"aud": [
"dTODV7VFpa8d8K9UCjKl"
],
"c_hash": "_-dG0hd7TaiGUlh463-vtA",
"exp": 1560759116,
"iat": 1560755696,
"iss": "https://isamfed.com:30443/test",
"nonce": "cWxqSjXqXA8IE1Um",
"sub": "testuser"
},
"state": "Q7SMNsH225ZxDiKJ"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'Q7SMNsH225ZxDiKJ'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb', 'code': 'aBFV9ClO7Hw6cXShLgHssxrZgtTdcZ', 'state': 'Q7SMNsH225ZxDiKJ', 'grant_type': 'authorization_code', 'client_id': 'dTODV7VFpa8d8K9UCjKl'}, 'state': 'Q7SMNsH225ZxDiKJ', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZFRPRFY3VkZwYThkOEs5VUNqS2wiLCAic3ViIjogImRUT0RWN1ZGcGE4ZDhLOVVDaktsIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJhT1huWTFMaHZQV2hkQUs0bkxXMHdINE9SeWxkS1YycSIsICJleHAiOiAxNTYwNzU2Mjk3LCAiaWF0IjogMTU2MDc1NTY5N30.Gh9Z6QR0yf3lC5Kp77RsWDcC2QWSJLQhSGVTmSC7u5r09SwDl8E17dC33weEugt5HEAe4vTy7c9CxBTMDDwjvwYMyC2kPi95nVP38qWwH9Em4wBoac20fKxBn9LXgFOMyfAdSUVpMS_LOp6FynPqnIuE6QDlcaiob-25DRPKvYie5SKLwmN4nlHxL-9V23m68LSJHn1AVxPJG60uBp2a6v6j327AVmiiRlNwdSoqtkcWqyMk6GwAChguccVKBlKSs7cckZhhmDfkV5rOJ1VRv23ZXVRjW7l0WgskPfjn0cRETmnMpt3XQ08SXGo_aA0xz8Op4j6KSzYxVx_JKYboKA",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "aBFV9ClO7Hw6cXShLgHssxrZgtTdcZ",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
"state": "Q7SMNsH225ZxDiKJ"
}
|
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%3A61365%2Fauthz_cb&code=aBFV9ClO7Hw6cXShLgHssxrZgtTdcZ&state=Q7SMNsH225ZxDiKJ&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZFRPRFY3VkZwYThkOEs5VUNqS2wiLCAic3ViIjogImRUT0RWN1ZGcGE4ZDhLOVVDaktsIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJhT1huWTFMaHZQV2hkQUs0bkxXMHdINE9SeWxkS1YycSIsICJleHAiOiAxNTYwNzU2Mjk3LCAiaWF0IjogMTU2MDc1NTY5N30.Gh9Z6QR0yf3lC5Kp77RsWDcC2QWSJLQhSGVTmSC7u5r09SwDl8E17dC33weEugt5HEAe4vTy7c9CxBTMDDwjvwYMyC2kPi95nVP38qWwH9Em4wBoac20fKxBn9LXgFOMyfAdSUVpMS_LOp6FynPqnIuE6QDlcaiob-25DRPKvYie5SKLwmN4nlHxL-9V23m68LSJHn1AVxPJG60uBp2a6v6j327AVmiiRlNwdSoqtkcWqyMk6GwAChguccVKBlKSs7cckZhhmDfkV5rOJ1VRv23ZXVRjW7l0WgskPfjn0cRETmnMpt3XQ08SXGo_aA0xz8Op4j6KSzYxVx_JKYboKA&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': '5xQ689K2fOZdrHrS8HCK', 'refresh_token': 'sRnnMzGMrgYYRsJbayrVR07hNcV6jg5qoVY2D1Pt', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiWk5RM3BTOFktc1BVdWo3bnRoS0xnQSIsIm5vbmNlIjoiY1d4cVNqWHFYQThJRTFVbSIsImlhdCI6MTU2MDc1NTY5NywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IjdmUDdZTHpFbURLYzM4LVVLZE9NNWciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1OTExNywiYXVkIjoiZFRPRFY3VkZwYThkOEs5VUNqS2wifQ.ZvIHgi87tOvMrpmyJEOkrHo3VcPUDDYKfQ_AmLHI8a_nn-SLbGgjgZ2tNHrilkQbwdd9IP4t4pHXZoEHvb9G1BZO5amwDjJbnq015lNacY5sqmKcP11DA65ln0nMrnFWon_2czR5nvL9_tk3r9TrM2o0KUqpbPxizWe2RchiTa6H-GO8lIopHIB3kuo6zXXZ2dfmPa8lB_i-qrc4AoItDaDWO_Fd58Szf-qv0jPGod9dnppajjnC67DtFCV76bJvATIhc9YNd-sNpyHG97y74SNk6EbzBBIe89HnS9UKeA59OQJj1iAMbFP5efXbay1kdiVuTFcT47Y_EkNoCTCetA', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "5xQ689K2fOZdrHrS8HCK",
"expires_in": 3599,
"id_token": {
"at_hash": "7fP7YLzEmDKc38-UKdOM5g",
"aud": [
"dTODV7VFpa8d8K9UCjKl"
],
"exp": 1560759117,
"iat": 1560755697,
"iss": "https://isamfed.com:30443/test",
"nonce": "cWxqSjXqXA8IE1Um",
"rt_hash": "ZNQ3pS8Y-sPUuj7nthKLgA",
"sub": "testuser"
},
"refresh_token": "sRnnMzGMrgYYRsJbayrVR07hNcV6jg5qoVY2D1Pt",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'Q7SMNsH225ZxDiKJ', 'method': 'POST', 'authn_method': 'token_in_message_body'}
|
3 | request | {'body': 'access_token=5xQ689K2fOZdrHrS8HCK'} |
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
3 | 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 |