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 id_token token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61367/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61367/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61367/static/jwks_61367.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:61367/static/jwks_61367.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61367/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61367/authz_cb"
],
"response_types": [
"code id_token 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": "fGlJn0boZkWaksI2aRrm",
"client_id_issued_at": 1560755240,
"client_secret": "Eo5VAfHaLeP07d7FAzq8",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61367/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61367/authz_cb"
],
"registration_access_token": "IvJjt3fcuZeqnK7GvrYl",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=fGlJn0boZkWaksI2aRrm",
"response_types": [
"code",
"id_token",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "fGlJn0boZkWaksI2aRrm",
"nonce": "y3LoqgkZYzHez6KT",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"response_type": "code id_token token",
"scope": "openid",
"state": "jDkqQHZUsClladYd"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jDkqQHZUsClladYd&nonce=y3LoqgkZYzHez6KT&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=fGlJn0boZkWaksI2aRrm |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jDkqQHZUsClladYd&nonce=y3LoqgkZYzHez6KT&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=fGlJn0boZkWaksI2aRrm |
1 | http args | {} |
1 | response | URL with fragment |
1 | response | access_token=dZIRi9Del4hZUN8BTHoW&state=jDkqQHZUsClladYd&expires_in=3599&token_type=bearer&code=lRmuzz1ZTn1wcylUmnrM1YsqVHkVsr&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6InkzTG9xZ2taWXpIZXo2S1QiLCJpYXQiOjE1NjA3NTUyNDEsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiI0YmRSb3JzXzNPV21CbFkwZFF1MGlRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NjEsImNfaGFzaCI6IjM2YUVqcHBHOG5KOGVERkU4WlBfbXciLCJhdWQiOiJmR2xKbjBib1prV2Frc0kyYVJybSJ9.n7c-ReRD1fly75sJ6j9sPb4SYiWqYJcNES5qIHxaGZNFwpQtn-3xMYRdB5pxopIyw9iOi4SJmbYxFVtVT-tL_j3ROZkhE0hGMybkW3FIjHmQIIvu2j_cTS8EmWGXrVqga2DGLWpTbn6fuha09GukrAeVD0pbFtRhdifm7d4Wr1gKOVaDj4t5y2MSvEkoQE27Xzn4T0_F_CzbBjFRiMsXFggaVhfkqAtgxuXBJqF_3LODmRzAEAFjTdGoerj73u362gkLovTsSnrDOgOpyHjeu9niWNl3_ipSuUr-oianusnSWxIY-kpfEUgSR92VNG-L4N6qAokIgbD6GAJ02lfqdw |
1 | response | {'access_token': 'dZIRi9Del4hZUN8BTHoW', 'state': 'jDkqQHZUsClladYd', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'lRmuzz1ZTn1wcylUmnrM1YsqVHkVsr', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6InkzTG9xZ2taWXpIZXo2S1QiLCJpYXQiOjE1NjA3NTUyNDEsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiI0YmRSb3JzXzNPV21CbFkwZFF1MGlRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NjEsImNfaGFzaCI6IjM2YUVqcHBHOG5KOGVERkU4WlBfbXciLCJhdWQiOiJmR2xKbjBib1prV2Frc0kyYVJybSJ9.n7c-ReRD1fly75sJ6j9sPb4SYiWqYJcNES5qIHxaGZNFwpQtn-3xMYRdB5pxopIyw9iOi4SJmbYxFVtVT-tL_j3ROZkhE0hGMybkW3FIjHmQIIvu2j_cTS8EmWGXrVqga2DGLWpTbn6fuha09GukrAeVD0pbFtRhdifm7d4Wr1gKOVaDj4t5y2MSvEkoQE27Xzn4T0_F_CzbBjFRiMsXFggaVhfkqAtgxuXBJqF_3LODmRzAEAFjTdGoerj73u362gkLovTsSnrDOgOpyHjeu9niWNl3_ipSuUr-oianusnSWxIY-kpfEUgSR92VNG-L4N6qAokIgbD6GAJ02lfqdw'} |
2 | AuthorizationResponse | {
"access_token": "dZIRi9Del4hZUN8BTHoW",
"code": "lRmuzz1ZTn1wcylUmnrM1YsqVHkVsr",
"expires_in": 3599,
"id_token": {
"at_hash": "4bdRors_3OWmBlY0dQu0iQ",
"aud": [
"fGlJn0boZkWaksI2aRrm"
],
"c_hash": "36aEjppG8nJ8eDFE8ZP_mw",
"exp": 1560758661,
"iat": 1560755241,
"iss": "https://isamfed.com:30443/test",
"nonce": "y3LoqgkZYzHez6KT",
"sub": "testuser"
},
"scope": "openid",
"state": "jDkqQHZUsClladYd",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'jDkqQHZUsClladYd'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb', 'code': 'lRmuzz1ZTn1wcylUmnrM1YsqVHkVsr', 'state': 'jDkqQHZUsClladYd', 'grant_type': 'authorization_code', 'client_id': 'fGlJn0boZkWaksI2aRrm'}, 'state': 'jDkqQHZUsClladYd', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZkdsSm4wYm9aa1dha3NJMmFScm0iLCAic3ViIjogImZHbEpuMGJvWmtXYWtzSTJhUnJtIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ5UVUzZ1Y3cUV4T2N6d051UVQxMlRRV21tbGVKQjNhciIsICJleHAiOiAxNTYwNzU1ODQyLCAiaWF0IjogMTU2MDc1NTI0Mn0.lqJQFdQrZ4HKq3IyfMqgdAGuwMZem-1AaAJ88chXPPBNOUs6fw0L50tfslW8Ga2AHBIinZeygzOmt4XCq91vw-vZypjVM7VWudpYqmZVdBH8VOSNcApCgiOEYssenhnovWWZ7xzMoS_4Wuv9BVMs87k51mpd3nNTRbLlQ0RkVOYPTb8nFIGLvZpFoA83VK4s-X79yiNNP6u3iSrGqvyWFM7U9vaEco9W_WtbRnbRfHrDjBA8CGgY82tPSqdZd6i2ZZueXL96izeMe49m8bvDksaby1uWVaeaDfk6YpTUlmaLmjcMoDrtdlVF6i1AafobUV_Wz4NvxkMBWDozbXWF3g",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "lRmuzz1ZTn1wcylUmnrM1YsqVHkVsr",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
"state": "jDkqQHZUsClladYd"
}
|
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%3A61367%2Fauthz_cb&code=lRmuzz1ZTn1wcylUmnrM1YsqVHkVsr&state=jDkqQHZUsClladYd&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZkdsSm4wYm9aa1dha3NJMmFScm0iLCAic3ViIjogImZHbEpuMGJvWmtXYWtzSTJhUnJtIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ5UVUzZ1Y3cUV4T2N6d051UVQxMlRRV21tbGVKQjNhciIsICJleHAiOiAxNTYwNzU1ODQyLCAiaWF0IjogMTU2MDc1NTI0Mn0.lqJQFdQrZ4HKq3IyfMqgdAGuwMZem-1AaAJ88chXPPBNOUs6fw0L50tfslW8Ga2AHBIinZeygzOmt4XCq91vw-vZypjVM7VWudpYqmZVdBH8VOSNcApCgiOEYssenhnovWWZ7xzMoS_4Wuv9BVMs87k51mpd3nNTRbLlQ0RkVOYPTb8nFIGLvZpFoA83VK4s-X79yiNNP6u3iSrGqvyWFM7U9vaEco9W_WtbRnbRfHrDjBA8CGgY82tPSqdZd6i2ZZueXL96izeMe49m8bvDksaby1uWVaeaDfk6YpTUlmaLmjcMoDrtdlVF6i1AafobUV_Wz4NvxkMBWDozbXWF3g&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': '10gEnS54eepsAfxhhtR1', 'refresh_token': 'IwglFA61R9vZIs5HcJAxlVpROCx5vYA5kGYxdktp', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiNmJPMDU3cVI4enM3RUJPV3BnNDhEdyIsIm5vbmNlIjoieTNMb3Fna1pZekhlejZLVCIsImlhdCI6MTU2MDc1NTI0MiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6InlCTUFuUGhkVDZCY3VsMFM1Rkh5bnciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODY2MiwiYXVkIjoiZkdsSm4wYm9aa1dha3NJMmFScm0ifQ.a6aO4dxMjIN4JHonVNBUdgmDXtpTRlmidNighoIa2t7-sjzVO7Jg-mYC9UJPIdgsLXqTGwkRLvIXmTn0q0OHo3qX6bIDnRqbNxRDZGO6yFnFismFq87gM2YLMXRKQ2acSkrRTxifEkxtw7Xwr09Pa5rVvvFmzeqGB0XZ8Fl9mXA8SjSh5sYYwyedpkR4m_Sk6tV0TtUK6t_3fZYsEuN3jRXEUpIfi3m7ENW-EO_MhuLuEiS3jJktt7Yn7t0i4BOWiSRiY2ZQZk-jyTH4DKyJeSXrcyuNVXpfqA_5E5lIY0xt7rRyn-emFH9qrdyetZ_QEhpuZ_tCwg_4T-0ManIBHg', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "10gEnS54eepsAfxhhtR1",
"expires_in": 3599,
"id_token": {
"at_hash": "yBMAnPhdT6Bcul0S5FHynw",
"aud": [
"fGlJn0boZkWaksI2aRrm"
],
"exp": 1560758662,
"iat": 1560755242,
"iss": "https://isamfed.com:30443/test",
"nonce": "y3LoqgkZYzHez6KT",
"rt_hash": "6bO057qR8zs7EBOWpg48Dw",
"sub": "testuser"
},
"refresh_token": "IwglFA61R9vZIs5HcJAxlVpROCx5vYA5kGYxdktp",
"scope": "openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'jDkqQHZUsClladYd', 'method': 'POST', 'behavior': 'use_authorization_header'}
|
2 | request | {'body': ''} |
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
2 | request_http_args | {'headers': {'Authorization': 'Bearer 10gEnS54eepsAfxhhtR1', 'Content-Type': 'application/x-www-form-urlencoded'}} |
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 | 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 |