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 token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61240/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61240/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61240/static/jwks_61240.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
0 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code",
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61240/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61240/authz_cb"
],
"response_types": [
"code 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": "0pbJHxO8QgGaJ4eo4AZL",
"client_id_issued_at": 1560755032,
"client_secret": "BCLFHCUaycCV73Di1B9L",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code",
"implicit"
],
"jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61240/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61240/authz_cb"
],
"registration_access_token": "65CYJB7zQpbBZYob3nkL",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=0pbJHxO8QgGaJ4eo4AZL",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "0pbJHxO8QgGaJ4eo4AZL",
"nonce": "rF34Q3lAXHNc39K5",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"response_type": "code token",
"scope": "openid profile email address phone",
"state": "FX9KPxKPYXb6KHOT"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=FX9KPxKPYXb6KHOT&nonce=rF34Q3lAXHNc39K5&response_type=code+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=0pbJHxO8QgGaJ4eo4AZL |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=FX9KPxKPYXb6KHOT&nonce=rF34Q3lAXHNc39K5&response_type=code+token&scope=openid+profile+email+address+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=0pbJHxO8QgGaJ4eo4AZL |
1 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=X3528cGu3Cc0btz6H1s0&state=FX9KPxKPYXb6KHOT&expires_in=3599&token_type=bearer&code=bu4hzgRwIEoQwjJJ0KPU0yA1trGgAC&scope=address%20phone%20openid%20profile%20email |
2 | response | {'access_token': 'X3528cGu3Cc0btz6H1s0', 'state': 'FX9KPxKPYXb6KHOT', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'bu4hzgRwIEoQwjJJ0KPU0yA1trGgAC', 'scope': 'address phone openid profile email'} |
2 | AuthorizationResponse | {
"access_token": "X3528cGu3Cc0btz6H1s0",
"code": "bu4hzgRwIEoQwjJJ0KPU0yA1trGgAC",
"expires_in": 3599,
"scope": "address phone openid profile email",
"state": "FX9KPxKPYXb6KHOT",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'FX9KPxKPYXb6KHOT'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb', 'code': 'bu4hzgRwIEoQwjJJ0KPU0yA1trGgAC', 'state': 'FX9KPxKPYXb6KHOT', 'grant_type': 'authorization_code', 'client_id': '0pbJHxO8QgGaJ4eo4AZL'}, 'state': 'FX9KPxKPYXb6KHOT', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiMHBiSkh4TzhRZ0dhSjRlbzRBWkwiLCAic3ViIjogIjBwYkpIeE84UWdHYUo0ZW80QVpMIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJBczhsVjR0RnJBS0tJZUZUdWR3WVZKazcybHFJRkczRyIsICJleHAiOiAxNTYwNzU1NjM0LCAiaWF0IjogMTU2MDc1NTAzNH0.tvJZ_FpMZkG-QQnvbkGLiBaZddVrjMvMT8-qND-lYoCPxlxzYOfYulczCOxQm84QIpzT9Hhh8ljIlh5aGfQr5xORzUIXIOIJmbtDWQD1Hs_DCcawyPsmyezllj738Ji3o-NWvVigyGu0W9J01pc7ttvw-EYJwAib47zNV6grd3hLilJAKzaE1leXhx3vYre8-fNgavK7xwQlJIo_HKAjxBc86d_nDHz66Hj5UeN1fh_2-4B7MuFJuNuGfjStQ2pmLmG7aLXlnfAaXL9FvzoGU4bt_2UXDSOfyXnH-5Hee4WNaKrQSJkPEeV_8TWzLW7e4Yi8gfxaR2QCE0ne3pkEUw",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "bu4hzgRwIEoQwjJJ0KPU0yA1trGgAC",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"state": "FX9KPxKPYXb6KHOT"
}
|
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%3A61240%2Fauthz_cb&code=bu4hzgRwIEoQwjJJ0KPU0yA1trGgAC&state=FX9KPxKPYXb6KHOT&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiMHBiSkh4TzhRZ0dhSjRlbzRBWkwiLCAic3ViIjogIjBwYkpIeE84UWdHYUo0ZW80QVpMIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJBczhsVjR0RnJBS0tJZUZUdWR3WVZKazcybHFJRkczRyIsICJleHAiOiAxNTYwNzU1NjM0LCAiaWF0IjogMTU2MDc1NTAzNH0.tvJZ_FpMZkG-QQnvbkGLiBaZddVrjMvMT8-qND-lYoCPxlxzYOfYulczCOxQm84QIpzT9Hhh8ljIlh5aGfQr5xORzUIXIOIJmbtDWQD1Hs_DCcawyPsmyezllj738Ji3o-NWvVigyGu0W9J01pc7ttvw-EYJwAib47zNV6grd3hLilJAKzaE1leXhx3vYre8-fNgavK7xwQlJIo_HKAjxBc86d_nDHz66Hj5UeN1fh_2-4B7MuFJuNuGfjStQ2pmLmG7aLXlnfAaXL9FvzoGU4bt_2UXDSOfyXnH-5Hee4WNaKrQSJkPEeV_8TWzLW7e4Yi8gfxaR2QCE0ne3pkEUw&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': 'FeUtvCkULJra9hIMC2bK', 'refresh_token': 'FIFoL4jSKVJTLn2fOxc6cmbXVm1iwutgiJ4jWyYu', 'scope': 'address phone openid profile email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJydF9oYXNoIjoiNl9TUW9iRUJuNDZpVjR0MVA0aFBPUSIsIm5vbmNlIjoickYzNFEzbEFYSE5jMzlLNSIsImVtYWlsIjoidGVzdF9pc2FtZmVkQGdtYWlsLmNvbSIsInBob25lX251bWJlciI6Ijg3NjU0MjE1IiwiaWF0IjoxNTYwNzU1MDM0LCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiVGUwNHdxd1ozcjduUV90UlZDMTRHdyIsInN1YiI6InRlc3R1c2VyIiwibmFtZSI6ImlzYW1mZWQgdGVzdHVzZXIiLCJleHAiOjE1NjA3NTg0NTQsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiYXVkIjoiMHBiSkh4TzhRZ0dhSjRlbzRBWkwifQ.mwnY_XefBjRzAwt09fF9FHoWH23819s6kaWWwzvo03tek5I9OWSi11XLLa96yBPU8SF7AuhDtCJGLkWuVHpQ0kWuVmLCemN9l_VyvfbMLmjH_k9a8FGt5RdycxosQCdmxJ5kr265aFaKa8iVRE0Alqkc-npLDGZVxiEpNQZZbSNa9NJMtZyunBulzYQOgEC__6MZP0HrwxG_WVHn8VwR-WMmHX6PMAFWjgScMFLvQGwJzXfS4fKg3OSKhUFBN7AVSbdkXFo7T2SqJiNKo5Sv2pxsvzATxupCwM3jUZEgP7SC_DQpw8Sp7kmJL0y0mWDJsGZxngEGxeEYFcmS1Xl4Gw', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "FeUtvCkULJra9hIMC2bK",
"expires_in": 3599,
"id_token": {
"at_hash": "Te04wqwZ3r7nQ_tRVC14Gw",
"aud": [
"0pbJHxO8QgGaJ4eo4AZL"
],
"email": "test_isamfed@gmail.com",
"email_verified": false,
"exp": 1560758454,
"iat": 1560755034,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "rF34Q3lAXHNc39K5",
"phone_number": "87654215",
"phone_number_verified": false,
"rt_hash": "6_SQobEBn46iV4t1P4hPOQ",
"sub": "testuser"
},
"refresh_token": "FIFoL4jSKVJTLn2fOxc6cmbXVm1iwutgiJ4jWyYu",
"scope": "address phone openid profile email",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'FX9KPxKPYXb6KHOT', '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 FeUtvCkULJra9hIMC2bK'}} |
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,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"email": "test_isamfed@gmail.com",
"email_verified": false,
"name": "isamfed testuser",
"phone_number": "87654215",
"phone_number_verified": false,
"sub": "testuser"
}
|
4 | phase | <--<-- 6 --- Done -->--> |
4 | end | |
4 | assertion | VerifyScopes |
4 | condition | verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['given_name', 'family_name', 'middle_name', 'nickname', 'profile', 'picture', 'website', 'gender', 'birthdate', 'zoneinfo', 'locale', 'updated_at', 'preferred_username', 'address'] [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 |