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', 'refresh_token'], '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": [
"implicit",
"authorization_code",
"refresh_token"
],
"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"
}
|
0 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
0 | RegistrationResponse | {
"application_type": "web",
"client_id": "xyHeRnfD59it0QrMQ5FI",
"client_id_issued_at": 1560761697,
"client_secret": "3akyecfRPOF1q44S7cMa",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code",
"refresh_token"
],
"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": "uqNXNFATMI9g68qWe2RS",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=xyHeRnfD59it0QrMQ5FI",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "xyHeRnfD59it0QrMQ5FI",
"nonce": "h1SRzsUt2jooR9b8",
"prompt": [
"consent"
],
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"response_type": "code token",
"scope": "openid offline_access",
"state": "fKk7aOIwu3pkbMHb"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=fKk7aOIwu3pkbMHb&nonce=h1SRzsUt2jooR9b8&response_type=code+token&scope=openid+offline_access&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&prompt=consent&client_id=xyHeRnfD59it0QrMQ5FI |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=fKk7aOIwu3pkbMHb&nonce=h1SRzsUt2jooR9b8&response_type=code+token&scope=openid+offline_access&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&prompt=consent&client_id=xyHeRnfD59it0QrMQ5FI |
5 | http args | {} |
6 | response | URL with fragment |
6 | response | access_token=hmGrHopNaEJUALehXc4e&state=fKk7aOIwu3pkbMHb&expires_in=3599&token_type=bearer&code=cUsJMiUL5HAIXaXbCWd8Q2MaVOcTpk&scope=openid%20offline_access |
6 | response | {'access_token': 'hmGrHopNaEJUALehXc4e', 'state': 'fKk7aOIwu3pkbMHb', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'cUsJMiUL5HAIXaXbCWd8Q2MaVOcTpk', 'scope': 'openid offline_access'} |
6 | AuthorizationResponse | {
"access_token": "hmGrHopNaEJUALehXc4e",
"code": "cUsJMiUL5HAIXaXbCWd8Q2MaVOcTpk",
"expires_in": 3599,
"scope": "openid offline_access",
"state": "fKk7aOIwu3pkbMHb",
"token_type": "bearer"
}
|
6 | phase | <--<-- 4 --- AccessToken -->--> |
6 | request | op_args: {'state': 'fKk7aOIwu3pkbMHb', 'authn_method': 'private_key_jwt'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb'} |
6 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb', 'code': 'cUsJMiUL5HAIXaXbCWd8Q2MaVOcTpk', 'state': 'fKk7aOIwu3pkbMHb', 'grant_type': 'authorization_code', 'client_id': 'xyHeRnfD59it0QrMQ5FI'}, 'state': 'fKk7aOIwu3pkbMHb', 'authn_method': 'private_key_jwt'}
|
6 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAieHlIZVJuZkQ1OWl0MFFyTVE1RkkiLCAic3ViIjogInh5SGVSbmZENTlpdDBRck1RNUZJIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJZemlCTENBRTBYTkJWZGZ2VnhnZVMyYjFmd3pyRkV3NyIsICJleHAiOiAxNTYwNzYyMzAzLCAiaWF0IjogMTU2MDc2MTcwM30.ulKDUWueD1jBVgvR4lW6LMjjMbaj003RPIOZg_Wcxc2ONNZ3v-8vSlnMMRHf0z2Dd2ONINAYBlvsakM5nEDYje5Mbl3zUuuCCX6gGH_XnIDdsjbSr0QmPPIF3J131mQ_5ZPYKiByrXAaAQI7_LoCmJIpUwC_1qtiEU3BP7VV-raBHwQGOK_3jB_hxiwIUeN1TRAjJuOweAIPYF4luITZvBAt4BwdYnjPOmaumgmSwAQ5kwH92t82yFKMSSadCgw2uSonM1Judeszwp1GjSiYafSc6XLgWknGbiRJee7G2Ag899ZtUChHsYH9D36wLB773A3VQOK3PETRFDQ4t_WyXQ",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "cUsJMiUL5HAIXaXbCWd8Q2MaVOcTpk",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"state": "fKk7aOIwu3pkbMHb"
}
|
6 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
6 | request_http_args | {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}} |
6 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&code=cUsJMiUL5HAIXaXbCWd8Q2MaVOcTpk&state=fKk7aOIwu3pkbMHb&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAieHlIZVJuZkQ1OWl0MFFyTVE1RkkiLCAic3ViIjogInh5SGVSbmZENTlpdDBRck1RNUZJIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJZemlCTENBRTBYTkJWZGZ2VnhnZVMyYjFmd3pyRkV3NyIsICJleHAiOiAxNTYwNzYyMzAzLCAiaWF0IjogMTU2MDc2MTcwM30.ulKDUWueD1jBVgvR4lW6LMjjMbaj003RPIOZg_Wcxc2ONNZ3v-8vSlnMMRHf0z2Dd2ONINAYBlvsakM5nEDYje5Mbl3zUuuCCX6gGH_XnIDdsjbSr0QmPPIF3J131mQ_5ZPYKiByrXAaAQI7_LoCmJIpUwC_1qtiEU3BP7VV-raBHwQGOK_3jB_hxiwIUeN1TRAjJuOweAIPYF4luITZvBAt4BwdYnjPOmaumgmSwAQ5kwH92t82yFKMSSadCgw2uSonM1Judeszwp1GjSiYafSc6XLgWknGbiRJee7G2Ag899ZtUChHsYH9D36wLB773A3VQOK3PETRFDQ4t_WyXQ&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
7 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
7 | response | {'access_token': 'laSCZ1yWKZgqUWRjTnqe', 'refresh_token': 'FPRpmKpyJrwQ9EUjiRCmxx8jF6ghFmRWYpnrPqQE', 'scope': 'openid offline_access', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiWUU2c2lFZm91WmMydGlsTDNWSVBJUSIsIm5vbmNlIjoiaDFTUnpzVXQyam9vUjliOCIsImlhdCI6MTU2MDc2MTcwNCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6InkxRjc4ZWpJQVlKLUVXQXJuVGJfUkEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2NTEyNCwiYXVkIjoieHlIZVJuZkQ1OWl0MFFyTVE1RkkifQ.V8RhO5LL-c8eeJJz1C_QmEq_fPsjZafDSbyI9ctUlJQz5CrDiBj69v75u546CeMkrpyS7sHiYXYDkq0X_lEZidSff4E55-WLReL9aQdAgu3A4Ro2htae75oC5OftUehWu4nLKCVhEigPOD2TZkwipb3Pdw36ZNERQOjOQiV6A2S1eftNVmvu-MRNVZa0UoyAlrCV38XmqnEAAUpVxeWAkEY7jNZ14w_EsWl4NN3MRd0H7mFDkUnMSchbW6XYy3wOQ73pkuZd0HhL4Z99tjk01GbYPpLrx8WihH9eLCpC9WN1ynbNFotXuxl0jUUgJK5luH1O5oHFpf5OD3E6QtSR7w', 'token_type': 'bearer', 'expires_in': 3599} |
7 | AccessTokenResponse | {
"access_token": "laSCZ1yWKZgqUWRjTnqe",
"expires_in": 3599,
"id_token": {
"at_hash": "y1F78ejIAYJ-EWArnTb_RA",
"aud": [
"xyHeRnfD59it0QrMQ5FI"
],
"exp": 1560765124,
"iat": 1560761704,
"iss": "https://isamfed.com:30443/test",
"nonce": "h1SRzsUt2jooR9b8",
"rt_hash": "YE6siEfouZc2tilL3VIPIQ",
"sub": "testuser"
},
"refresh_token": "FPRpmKpyJrwQ9EUjiRCmxx8jF6ghFmRWYpnrPqQE",
"scope": "openid offline_access",
"token_type": "bearer"
}
|
7 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
7 | phase | <--<-- 5 --- RotateSigKeys -->--> |
7 | phase | <--<-- 6 --- RefreshAccessToken -->--> |
7 | RefreshAccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6IkJlYTFmMHRNOWFhRmpkTU5YSmk4RXJhbDhFR0dWdjducF9NVjdUdlJ0UFEifQ.eyJpc3MiOiAieHlIZVJuZkQ1OWl0MFFyTVE1RkkiLCAic3ViIjogInh5SGVSbmZENTlpdDBRck1RNUZJIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI1YjZmbXZTZXpkQVAwQ291NXBjWkRhb3RwY2x2TDhLdSIsICJleHAiOiAxNTYwNzYyMzA0LCAiaWF0IjogMTU2MDc2MTcwNH0.HvlH0OkHL4yHBzy0DhlHzKt6RFYLH3bvtS8SC_VVAJbW3Xi2FAhCrySjfj7Y2JdR0uagjNOilsGNfqwGIuaOxbtxkHZiD9A0DEfcacQXE6LkWpV2tq2mkD9tdPdzjwIS7bUu6LkRO_0QKtcQORhT6GCK80e3T3qAmO-R7kRf0rH12j0tie0X938T0D4LjA4Fn5NkgHyoLkhGGWzTm4alTopI0B5pqWSMSlT7C0-bH0O0LcYJP3Xt87Bd8LJScCOC6h9hmJG_dSV1TUbSRAh8zPIzsIcCGsABEH2H_mkxGIs5mr2vmYLaaBva8I7o-d_Sgl84P6b_ZqnKe9DHGcG2dg",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"grant_type": "refresh_token",
"refresh_token": "FPRpmKpyJrwQ9EUjiRCmxx8jF6ghFmRWYpnrPqQE",
"scope": "openid offline_access"
}
|
7 | request | {'grant_type': 'refresh_token', 'refresh_token': 'FPRpmKpyJrwQ9EUjiRCmxx8jF6ghFmRWYpnrPqQE', 'scope': 'openid offline_access', 'client_assertion': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IkJlYTFmMHRNOWFhRmpkTU5YSmk4RXJhbDhFR0dWdjducF9NVjdUdlJ0UFEifQ.eyJpc3MiOiAieHlIZVJuZkQ1OWl0MFFyTVE1RkkiLCAic3ViIjogInh5SGVSbmZENTlpdDBRck1RNUZJIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI1YjZmbXZTZXpkQVAwQ291NXBjWkRhb3RwY2x2TDhLdSIsICJleHAiOiAxNTYwNzYyMzA0LCAiaWF0IjogMTU2MDc2MTcwNH0.HvlH0OkHL4yHBzy0DhlHzKt6RFYLH3bvtS8SC_VVAJbW3Xi2FAhCrySjfj7Y2JdR0uagjNOilsGNfqwGIuaOxbtxkHZiD9A0DEfcacQXE6LkWpV2tq2mkD9tdPdzjwIS7bUu6LkRO_0QKtcQORhT6GCK80e3T3qAmO-R7kRf0rH12j0tie0X938T0D4LjA4Fn5NkgHyoLkhGGWzTm4alTopI0B5pqWSMSlT7C0-bH0O0LcYJP3Xt87Bd8LJScCOC6h9hmJG_dSV1TUbSRAh8zPIzsIcCGsABEH2H_mkxGIs5mr2vmYLaaBva8I7o-d_Sgl84P6b_ZqnKe9DHGcG2dg', 'client_assertion_type': 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer'} |
8 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
8 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
8 | handle_response | kwargs:{'r': , 'csi': }
|
8 | response | {'access_token': 'UWQDhzVHj7qcNOaDnKrj', 'refresh_token': 'FOtoDRBuhZc3OJ1vrcqdDjXifaByg2DMnZ0faImr', 'scope': 'openid offline_access', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiWUhvZXJtRi0tNXVSbVJCcWZvbDlQQSIsIm5vbmNlIjoiaDFTUnpzVXQyam9vUjliOCIsImlhdCI6MTU2MDc2MTcwNSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IldpbzhsNjFyekN6R3hnZ0VWRzFhckEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2NTEyNSwiYXVkIjoieHlIZVJuZkQ1OWl0MFFyTVE1RkkifQ.f09p-xvsUckEfC_-UdxjeGL4Sxityuoq-knTHhyoxCRt6z0ILLnfjTo7kSBUOguDcwSp6mvOJgVoQzJMb9hLKO55dv2wlLv3tcrbO1YqAC0VzO4NTWCohEIMZ1WCcA89rI6LXsBj1ZZcM9smKaUyKM4jM6HnQL1quO8rltxTVEALnTf0RjaR9-FQlObQjUkS9U4GvPasJZHp6J-75n65atmZqkwRfGTi6JWmxfH0j3dbHCQOi9HxMc9xiRu0OuRG5sUc1ReGcrWSyuCTSydiQOpiRZSK9Xt8cl23Cl5strG6dmW2gBlcHcmjYUWxmIiLCOe4E3WMHRvvE7LXg-hV_g', 'token_type': 'bearer', 'expires_in': 3599} |
8 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
8 | AccessTokenResponse | {
"access_token": "UWQDhzVHj7qcNOaDnKrj",
"expires_in": 3599,
"id_token": {
"at_hash": "Wio8l61rzCzGxggEVG1arA",
"aud": [
"xyHeRnfD59it0QrMQ5FI"
],
"exp": 1560765125,
"iat": 1560761705,
"iss": "https://isamfed.com:30443/test",
"nonce": "h1SRzsUt2jooR9b8",
"rt_hash": "YHoermF--5uRmRBqfol9PA",
"sub": "testuser"
},
"refresh_token": "FOtoDRBuhZc3OJ1vrcqdDjXifaByg2DMnZ0faImr",
"scope": "openid offline_access",
"token_type": "bearer"
}
|
8 | phase | <--<-- 7 --- Done -->--> |
8 | end | |
8 | assertion | CheckHTTPResponse |
8 | 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] |
8 | condition | Done: status=OK |