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"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "Yzm0iYyohN66mBDPl4M4",
"client_id_issued_at": 1560753634,
"client_secret": "xGXv4iSNUc6O7UVfiOyn",
"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": "I57i7OFskdpstvhzcWwl",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=Yzm0iYyohN66mBDPl4M4",
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "Yzm0iYyohN66mBDPl4M4",
"nonce": "1kYKxvxNNjRHIBBP",
"redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
"response_type": "code",
"scope": "openid profile",
"state": "gdqkhRbx7EQihu2N"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=gdqkhRbx7EQihu2N&nonce=1kYKxvxNNjRHIBBP&response_type=code&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=Yzm0iYyohN66mBDPl4M4 |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=gdqkhRbx7EQihu2N&nonce=1kYKxvxNNjRHIBBP&response_type=code&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=Yzm0iYyohN66mBDPl4M4 |
2 | response | Response URL with query part |
2 | response | {'state': 'gdqkhRbx7EQihu2N', 'code': 'R6XsxCBAgZNANDDUPNYTCayX3OwCmx'} |
2 | response | {'state': 'gdqkhRbx7EQihu2N', 'code': 'R6XsxCBAgZNANDDUPNYTCayX3OwCmx'} |
2 | AuthorizationResponse | {
"code": "R6XsxCBAgZNANDDUPNYTCayX3OwCmx",
"state": "gdqkhRbx7EQihu2N"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'gdqkhRbx7EQihu2N'}, 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': 'R6XsxCBAgZNANDDUPNYTCayX3OwCmx', 'state': 'gdqkhRbx7EQihu2N', 'grant_type': 'authorization_code', 'client_id': 'Yzm0iYyohN66mBDPl4M4'}, 'state': 'gdqkhRbx7EQihu2N', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiWXptMGlZeW9oTjY2bUJEUGw0TTQiLCAic3ViIjogIll6bTBpWXlvaE42Nm1CRFBsNE00IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJYNXRwNXpmRWZQMzRqZFZJSFkxZjJQME80cVo5cUZzaSIsICJleHAiOiAxNTYwNzU0MjM1LCAiaWF0IjogMTU2MDc1MzYzNX0.T4u7xMDZzaSNRqASmnVBpEqVKTk11K3W1nfDisBkC0xdXHQzKHtEWXVWpO_Zp2TKqeTftKXBZHhU1fiRyqEHUIPA_3Dmsnnl3RyjWd1VuyBb7iLTPtbzUG8-L6epV5kdxtnkf73s2b95TYk50lURK3H6afDm4vGr9psgUrVKfGHW6gcb8IP20-NBggb4x_Wje2Gcn1do-fOmQBbr5gKYVxxPTnJ32mxxiH-XlkLTj5kvyL9GG3yLd1EXn_nkYzMl-K03sB3RSJYtGBEDyJqauMNH-Zw2Hv2mW8FRdLl_hxmkivqvHyrTekgGg7F9Axp6d6GCtY9SWjIASJn0jdYElA",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "R6XsxCBAgZNANDDUPNYTCayX3OwCmx",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
"state": "gdqkhRbx7EQihu2N"
}
|
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=R6XsxCBAgZNANDDUPNYTCayX3OwCmx&state=gdqkhRbx7EQihu2N&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiWXptMGlZeW9oTjY2bUJEUGw0TTQiLCAic3ViIjogIll6bTBpWXlvaE42Nm1CRFBsNE00IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJYNXRwNXpmRWZQMzRqZFZJSFkxZjJQME80cVo5cUZzaSIsICJleHAiOiAxNTYwNzU0MjM1LCAiaWF0IjogMTU2MDc1MzYzNX0.T4u7xMDZzaSNRqASmnVBpEqVKTk11K3W1nfDisBkC0xdXHQzKHtEWXVWpO_Zp2TKqeTftKXBZHhU1fiRyqEHUIPA_3Dmsnnl3RyjWd1VuyBb7iLTPtbzUG8-L6epV5kdxtnkf73s2b95TYk50lURK3H6afDm4vGr9psgUrVKfGHW6gcb8IP20-NBggb4x_Wje2Gcn1do-fOmQBbr5gKYVxxPTnJ32mxxiH-XlkLTj5kvyL9GG3yLd1EXn_nkYzMl-K03sB3RSJYtGBEDyJqauMNH-Zw2Hv2mW8FRdLl_hxmkivqvHyrTekgGg7F9Axp6d6GCtY9SWjIASJn0jdYElA&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'tq3oa3QNkJhJqJTv4EV4', 'refresh_token': 'ItgKw7ZmgOAp1a2mI8nH1OdS7N3phqXMYm0182MC', 'scope': 'openid profile', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiQVhQX1Vfai1RUk5IcUJWSXNKZFVIQSIsIm5vbmNlIjoiMWtZS3h2eE5OalJISUJCUCIsImlhdCI6MTU2MDc1MzYzNSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6InZ3d2d0aHF4QXRQSm9wbHowY0g3cHciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1NzA1NSwiYXVkIjoiWXptMGlZeW9oTjY2bUJEUGw0TTQifQ.ayE_2kJRkBXSGIAnNX0JExWEXyLpVNGbeaO7CCfTLWY-TQi7w3Wg5OTFrYVcjJKBxfTiEIo9t7c1jDcay6PZnEZqjW73B3foiSkJ0fe__H9BUS4T9CDe4PCt8YjB_dE_8xvDpZO6izljCviMhGTkJGUw90fo5-PJuwbvGo888XxwI-HWQZKgARd-KBTxXer3lbQ3pDZ0X5fFWnQhHdppNUpqmS2pxYx7V5WVVcSrhr7537ue0sPfo2g3D0S_oYa2-8_scnW9gpF22fFl-YTpcVX7ZT4P2WM07j1n06yARPJ4dH-Q8ctFy2GXtiJWnKZZFjvdl0B0txowZxwEUj8hJA', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "tq3oa3QNkJhJqJTv4EV4",
"expires_in": 3599,
"id_token": {
"at_hash": "vwwgthqxAtPJoplz0cH7pw",
"aud": [
"Yzm0iYyohN66mBDPl4M4"
],
"exp": 1560757055,
"iat": 1560753635,
"iss": "https://isamfed.com:30443/test",
"nonce": "1kYKxvxNNjRHIBBP",
"rt_hash": "AXP_U_j-QRNHqBVIsJdUHA",
"sub": "testuser"
},
"refresh_token": "ItgKw7ZmgOAp1a2mI8nH1OdS7N3phqXMYm0182MC",
"scope": "openid profile",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'gdqkhRbx7EQihu2N', '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 tq3oa3QNkJhJqJTv4EV4'}} |
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 | VerifyScopes |
3 | condition | verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['name', 'given_name', 'family_name', 'middle_name', 'nickname', 'profile', 'picture', 'website', 'gender', 'birthdate', 'zoneinfo', 'locale', 'updated_at', 'preferred_username'] [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 |