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'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61164/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61164/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61164/static/jwks_61164.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
0 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61164/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61164/authz_cb"
],
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
0 | RegistrationResponse | {
"application_type": "web",
"client_id": "DaJQ5ySY4uRLBpnQ1zWm",
"client_id_issued_at": 1560754463,
"client_secret": "mZuDqmPoPzV1GXCv3rwH",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61164/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61164/authz_cb"
],
"registration_access_token": "J3R6c4zvpkVXbsHxG0o0",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=DaJQ5ySY4uRLBpnQ1zWm",
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "DaJQ5ySY4uRLBpnQ1zWm",
"nonce": "f2JhnKZy2y7jAOgw",
"redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
"response_type": "code",
"scope": "openid email",
"state": "tGJPodwCOgpx2dhD"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=tGJPodwCOgpx2dhD&nonce=f2JhnKZy2y7jAOgw&response_type=code&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=DaJQ5ySY4uRLBpnQ1zWm |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=tGJPodwCOgpx2dhD&nonce=f2JhnKZy2y7jAOgw&response_type=code&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=DaJQ5ySY4uRLBpnQ1zWm |
2 | response | Response URL with query part |
2 | response | {'state': 'tGJPodwCOgpx2dhD', 'code': 'R3N6a6ZLA9D2A2ma1KuOvlhaK1kJpL'} |
2 | response | {'state': 'tGJPodwCOgpx2dhD', 'code': 'R3N6a6ZLA9D2A2ma1KuOvlhaK1kJpL'} |
2 | AuthorizationResponse | {
"code": "R3N6a6ZLA9D2A2ma1KuOvlhaK1kJpL",
"state": "tGJPodwCOgpx2dhD"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'tGJPodwCOgpx2dhD'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb', 'code': 'R3N6a6ZLA9D2A2ma1KuOvlhaK1kJpL', 'state': 'tGJPodwCOgpx2dhD', 'grant_type': 'authorization_code', 'client_id': 'DaJQ5ySY4uRLBpnQ1zWm'}, 'state': 'tGJPodwCOgpx2dhD', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRGFKUTV5U1k0dVJMQnBuUTF6V20iLCAic3ViIjogIkRhSlE1eVNZNHVSTEJwblExeldtIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJaVHJRM1hpSEh4WGhjaUR6VjFaVlhsOGFFTkpaenIzVSIsICJleHAiOiAxNTYwNzU1MDY1LCAiaWF0IjogMTU2MDc1NDQ2NX0.SmIzfyiJzI_7sDAVduxP6vFAWY1K5sn_PtL_ET9ChPPUnS0xkbiPCPOUiJr1TxFb-3i9ywVQrTYEPknbTBrUTFz6I-xFXbpNxbfTGwxLn4ZwGKZeuhPvwcav673UmIe7e3Br7kEih71YtP4167fT7oKC3eHauI6v5xq9yFngcyTklhInrzzEGdOWbXfmm1s7nQZ1mVkA3_InkaO-1dar8gWDBkbVfBsU583HgKWzcLtiF6KMDVOVBT9rDIVVY5rcZkmQW-1ancadLfL11wjkL8wDQMU1MXib786R9mCPyzljgVwpuO7BcYRsUu2_x_7gdRyYD_sUojlMa7Ll9Y4cjw",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "R3N6a6ZLA9D2A2ma1KuOvlhaK1kJpL",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
"state": "tGJPodwCOgpx2dhD"
}
|
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%3A61164%2Fauthz_cb&code=R3N6a6ZLA9D2A2ma1KuOvlhaK1kJpL&state=tGJPodwCOgpx2dhD&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRGFKUTV5U1k0dVJMQnBuUTF6V20iLCAic3ViIjogIkRhSlE1eVNZNHVSTEJwblExeldtIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJaVHJRM1hpSEh4WGhjaUR6VjFaVlhsOGFFTkpaenIzVSIsICJleHAiOiAxNTYwNzU1MDY1LCAiaWF0IjogMTU2MDc1NDQ2NX0.SmIzfyiJzI_7sDAVduxP6vFAWY1K5sn_PtL_ET9ChPPUnS0xkbiPCPOUiJr1TxFb-3i9ywVQrTYEPknbTBrUTFz6I-xFXbpNxbfTGwxLn4ZwGKZeuhPvwcav673UmIe7e3Br7kEih71YtP4167fT7oKC3eHauI6v5xq9yFngcyTklhInrzzEGdOWbXfmm1s7nQZ1mVkA3_InkaO-1dar8gWDBkbVfBsU583HgKWzcLtiF6KMDVOVBT9rDIVVY5rcZkmQW-1ancadLfL11wjkL8wDQMU1MXib786R9mCPyzljgVwpuO7BcYRsUu2_x_7gdRyYD_sUojlMa7Ll9Y4cjw&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': '2flQpLS0W57CzE52N4AN', 'refresh_token': '5I6I7x4IXxH3GRMwcpDJbmBSeK9aZGnh2A19rOK5', 'scope': 'openid email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiVVlCaVFxTXBGZHM0V2hkY0k1Vk5oZyIsIm5vbmNlIjoiZjJKaG5LWnkyeTdqQU9ndyIsImVtYWlsIjoidGVzdF9pc2FtZmVkQGdtYWlsLmNvbSIsImlhdCI6MTU2MDc1NDQ2NiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkRNS0dkeTlPRnRmaXFWdWgwbnhRUkEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1Nzg4NiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJhdWQiOiJEYUpRNXlTWTR1UkxCcG5RMXpXbSJ9.hAPNSidDJWROsVi8-nen3WtbxznAubOxQaRzE8WaT6lqxXgJjiC4W4uGJOQ_zJ3sWmGOFkyBVzzO51M4-FU1JjIDn6HWcWHPpbwqjQ5EElCx6kiyMuygdshuAuHO3AZ1XXwxneiibhmByDjd_W_SS9zUZR4PsJ79iAWaliOvj9rBh7UJ0w-T1nz-I-aNI5RLt52WixCD0pBrerzKXdSG8z3LrkYa6qIw_yUhmiXsJn9Vl8MKP9DD7mw-sQaYhPPulfJ1J8-b3owI9rq_in64bNiEGQDX9T5KM0Lf9zVHqrMUx0OYXkJD74xViDmWVkMJOsaz8BzXEcM4xm7fXd77SA', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "2flQpLS0W57CzE52N4AN",
"expires_in": 3599,
"id_token": {
"at_hash": "DMKGdy9OFtfiqVuh0nxQRA",
"aud": [
"DaJQ5ySY4uRLBpnQ1zWm"
],
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560757886,
"iat": 1560754466,
"iss": "https://isamfed.com:30443/test",
"nonce": "f2JhnKZy2y7jAOgw",
"rt_hash": "UYBiQqMpFds4WhdcI5VNhg",
"sub": "testuser"
},
"refresh_token": "5I6I7x4IXxH3GRMwcpDJbmBSeK9aZGnh2A19rOK5",
"scope": "openid email",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'tGJPodwCOgpx2dhD', '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 2flQpLS0W57CzE52N4AN'}} |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
4 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"sub": "testuser"
}
|
4 | phase | <--<-- 6 --- Done -->--> |
4 | end | |
4 | assertion | VerifyScopes |
4 | condition | verify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned] |
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 | 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 |