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": [
"RSA-OAEP-256"
],
"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 | register | kwargs:{'response_types': ['code token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61707/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61707/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61707/static/jwks_61707.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:61707/static/jwks_61707.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61707/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61707/authz_cb"
],
"response_types": [
"code token"
],
"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": "FJyjCrgLtCzYSGBWN5SQ",
"client_id_issued_at": 1560784279,
"client_secret": "3vS6NaCYJ135xPai7X1G",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61707/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61707/authz_cb"
],
"registration_access_token": "sBNe5UZ2oUOyK4JwFtyM",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=FJyjCrgLtCzYSGBWN5SQ",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "FJyjCrgLtCzYSGBWN5SQ",
"nonce": "OGrsjccZegBOGoLu",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"response_type": "code token",
"scope": "openid email",
"state": "m8pZWf193bHjrUSD"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=m8pZWf193bHjrUSD&nonce=OGrsjccZegBOGoLu&response_type=code+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=FJyjCrgLtCzYSGBWN5SQ |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=m8pZWf193bHjrUSD&nonce=OGrsjccZegBOGoLu&response_type=code+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=FJyjCrgLtCzYSGBWN5SQ |
1 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=427KfNitapB0Q3T9PsQY&state=m8pZWf193bHjrUSD&expires_in=3599&token_type=bearer&code=MVhjpjyRYKEUzixBNzwS8PaR6sOyDR&scope=openid%20email |
2 | response | {'access_token': '427KfNitapB0Q3T9PsQY', 'state': 'm8pZWf193bHjrUSD', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'MVhjpjyRYKEUzixBNzwS8PaR6sOyDR', 'scope': 'openid email'} |
2 | AuthorizationResponse | {
"access_token": "427KfNitapB0Q3T9PsQY",
"code": "MVhjpjyRYKEUzixBNzwS8PaR6sOyDR",
"expires_in": 3599,
"scope": "openid email",
"state": "m8pZWf193bHjrUSD",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'm8pZWf193bHjrUSD'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'MVhjpjyRYKEUzixBNzwS8PaR6sOyDR', 'state': 'm8pZWf193bHjrUSD', 'grant_type': 'authorization_code', 'client_id': 'FJyjCrgLtCzYSGBWN5SQ'}, 'state': 'm8pZWf193bHjrUSD', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRkp5akNyZ0x0Q3pZU0dCV041U1EiLCAic3ViIjogIkZKeWpDcmdMdEN6WVNHQldONVNRIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJobFB0TDZpUm1DS2hEUDd3YVlPUUJkQjlURk1kcnJUMyIsICJleHAiOiAxNTYwNzg0ODgxLCAiaWF0IjogMTU2MDc4NDI4MX0.Vrqf51qrkwY73zL6_l3h-yLDr-ke5DX6-xKdx5dWdzIslzB9g9_d-Bz22hT9waeLcgKo2Zn2mcZdUTYAMXNriLgfD3RTsRFnkq83F014mnlLWKCmdi3Ws3cUFce8QR9_gj9ZDOjxBoD8c6PhSahGeyT5pK9Z1AdIDzQgvvCh9uA0EZVdJCDoReX-MbWoAxyckr8hQt-0OU2AliHmYvE_4BijTuDzvYHI87VdxHo4rKa-tg0gOJWUK6LmSq2xUf3PNEpXDuh1zFlgVoe_CEcR7igzfDU43YygEKQ2FOkhcfZOeXAhYSed7ALmV4iYXOYX4msXaRiAUgvxqO169E5T_A",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "MVhjpjyRYKEUzixBNzwS8PaR6sOyDR",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"state": "m8pZWf193bHjrUSD"
}
|
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%3A61707%2Fauthz_cb&code=MVhjpjyRYKEUzixBNzwS8PaR6sOyDR&state=m8pZWf193bHjrUSD&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRkp5akNyZ0x0Q3pZU0dCV041U1EiLCAic3ViIjogIkZKeWpDcmdMdEN6WVNHQldONVNRIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJobFB0TDZpUm1DS2hEUDd3YVlPUUJkQjlURk1kcnJUMyIsICJleHAiOiAxNTYwNzg0ODgxLCAiaWF0IjogMTU2MDc4NDI4MX0.Vrqf51qrkwY73zL6_l3h-yLDr-ke5DX6-xKdx5dWdzIslzB9g9_d-Bz22hT9waeLcgKo2Zn2mcZdUTYAMXNriLgfD3RTsRFnkq83F014mnlLWKCmdi3Ws3cUFce8QR9_gj9ZDOjxBoD8c6PhSahGeyT5pK9Z1AdIDzQgvvCh9uA0EZVdJCDoReX-MbWoAxyckr8hQt-0OU2AliHmYvE_4BijTuDzvYHI87VdxHo4rKa-tg0gOJWUK6LmSq2xUf3PNEpXDuh1zFlgVoe_CEcR7igzfDU43YygEKQ2FOkhcfZOeXAhYSed7ALmV4iYXOYX4msXaRiAUgvxqO169E5T_A&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/o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W9KysjS7CvMKQoP5SSuMBnZsC1R8fXE8OxDNCmEscr0bcu34PqS_3a_TgMEZ2_tioCCwEX4yVcWuYOvw-LjTbi1mgF8Zen4QsNyaJUdX-2dovBXWux-bfrDHcV3tLv3We3IwUWRtZqyi2naPn-6hfbHeUzKJl7KQKuLDb31yN_RoJQg7HfAIymfTSbaJjErlJV4Z5gjjjHjsv1tpINgVOS2AZqeZM4j1HBzP_ghl8KNlvyI3AVhRvbMTrvnJUkxuICjm7F9fh-lGJFyIkGn0WyLutnIpXxVB06eNofn3eCxmFL8rXMenXjQNtFIBvI-uC5cR_nmK6HGtSx47wC6aVdVM0rozU1xG91139kvNF8aDiCw-bVRBJdx-ltbzr2QRb77Yv6apzj6JLB99B-s4ffRusg9JeqwMU_Qzl4MQQvzqwGBjKoBeoz7SRoUt7UV10wnjO_wDBw6VhITR6HKPXpjHGAcxpNuR1LkgReOqHETTi6HyN8WrHLqX_bW86t1J_8KQELPMCnxx-6TU8-STUkdI8ATVlaUkEJbauinpuNXKtiTX5Wszi6e7lQAA6vr90eqbmbrLDyHKkBxYwtpki5nvVq10OHPy_9oJSBmPSCxi0f08sdR67PLnPwuL2_Npbimw.qHirN9G15PbteieVjTUfZw', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "8yeB5xjrAhPTsBLyRvXf",
"expires_in": 3599,
"id_token": {
"at_hash": "77K-OB6EvrRX4FrVfQ4CuQ",
"aud": [
"FJyjCrgLtCzYSGBWN5SQ"
],
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560787701,
"iat": 1560784281,
"iss": "https://isamfed.com:30443/test",
"nonce": "OGrsjccZegBOGoLu",
"rt_hash": "PKYh1eikp4hM7WIJkgtnRA",
"sub": "testuser"
},
"refresh_token": "aarUExEQcKs9qgctKCAzqpAx5QiU2L6UPv368Bgq",
"scope": "openid email",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | jwe header | {'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'm8pZWf193bHjrUSD', 'method': 'GET', 'authn_method': 'bearer_header'}
|
2 | request | {'body': None} |
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
2 | request_http_args | {'headers': {'Authorization': 'Bearer 8yeB5xjrAhPTsBLyRvXf'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"sub": "testuser"
}
|
3 | phase | <--<-- 6 --- Done -->--> |
3 | end | |
3 | assertion | VerifyScopes |
3 | condition | verify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned] |
3 | assertion | CheckHTTPResponse |
3 | 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] |
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 |