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', 'userinfo_signed_response_alg': 'RS256'}
|
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",
"userinfo_signed_response_alg": "RS256"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "EOJa9fNFoGcGM5Vlb9E6",
"client_id_issued_at": 1560754964,
"client_secret": "67OMSZgxFF6Wdo6J1GLw",
"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": "mhJYW8kQXVJFwlFUwysK",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=EOJa9fNFoGcGM5Vlb9E6",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt",
"userinfo_signed_response_alg": "RS256"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "EOJa9fNFoGcGM5Vlb9E6",
"nonce": "2mdhHSZD8Vsz4jLc",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"response_type": "code token",
"scope": "openid",
"state": "TFmBBNEYiJfCiCNv"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=TFmBBNEYiJfCiCNv&nonce=2mdhHSZD8Vsz4jLc&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=EOJa9fNFoGcGM5Vlb9E6 |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=TFmBBNEYiJfCiCNv&nonce=2mdhHSZD8Vsz4jLc&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=EOJa9fNFoGcGM5Vlb9E6 |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=9QW22CPdHQm1OWou6SVW&state=TFmBBNEYiJfCiCNv&expires_in=3599&token_type=bearer&code=UU7dweFKgIVSAY6aa4reYAYwEnSt5I&scope=openid |
2 | response | {'access_token': '9QW22CPdHQm1OWou6SVW', 'state': 'TFmBBNEYiJfCiCNv', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'UU7dweFKgIVSAY6aa4reYAYwEnSt5I', 'scope': 'openid'} |
2 | AuthorizationResponse | {
"access_token": "9QW22CPdHQm1OWou6SVW",
"code": "UU7dweFKgIVSAY6aa4reYAYwEnSt5I",
"expires_in": 3599,
"scope": "openid",
"state": "TFmBBNEYiJfCiCNv",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'TFmBBNEYiJfCiCNv'}, 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': 'UU7dweFKgIVSAY6aa4reYAYwEnSt5I', 'state': 'TFmBBNEYiJfCiCNv', 'grant_type': 'authorization_code', 'client_id': 'EOJa9fNFoGcGM5Vlb9E6'}, 'state': 'TFmBBNEYiJfCiCNv', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRU9KYTlmTkZvR2NHTTVWbGI5RTYiLCAic3ViIjogIkVPSmE5Zk5Gb0djR001VmxiOUU2IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJCaTVEZ1RiWG93cDluaDZYVEQ4OGxTb295VTFwd1hmVCIsICJleHAiOiAxNTYwNzU1NTY1LCAiaWF0IjogMTU2MDc1NDk2NX0.UbhMKsSFSvxinYu8t7Z-FHK6wYYP5ypQCAs_U4rkdYG1jN2_F2L7YGoKQSvBqqcoe5genemQQ8tl656mRPnumzDaB_xpPcLt1CImXykOjkvOhbQ0WmFNUwdy1MXp5tDM2o6Ia7qkJPmQqVGVoyCJxa3pj8XlxlAKrFXJ_WjbUsVZCvgkfTrNhuXwB8tWz7V4PEyxku3okzMOvnuzh_6uD3tVTpRuRPs4zWMaWML2iauemYqx82EA4UYQky1cHW_uGqblhODe40z_mRZNS9ruxGRoXj46uDrqj1UF4tmLk-64k8JJxxDHkMpX5gC6eaERtIdpDldLgSF8KlkkJjv__A",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "UU7dweFKgIVSAY6aa4reYAYwEnSt5I",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"state": "TFmBBNEYiJfCiCNv"
}
|
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=UU7dweFKgIVSAY6aa4reYAYwEnSt5I&state=TFmBBNEYiJfCiCNv&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRU9KYTlmTkZvR2NHTTVWbGI5RTYiLCAic3ViIjogIkVPSmE5Zk5Gb0djR001VmxiOUU2IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJCaTVEZ1RiWG93cDluaDZYVEQ4OGxTb295VTFwd1hmVCIsICJleHAiOiAxNTYwNzU1NTY1LCAiaWF0IjogMTU2MDc1NDk2NX0.UbhMKsSFSvxinYu8t7Z-FHK6wYYP5ypQCAs_U4rkdYG1jN2_F2L7YGoKQSvBqqcoe5genemQQ8tl656mRPnumzDaB_xpPcLt1CImXykOjkvOhbQ0WmFNUwdy1MXp5tDM2o6Ia7qkJPmQqVGVoyCJxa3pj8XlxlAKrFXJ_WjbUsVZCvgkfTrNhuXwB8tWz7V4PEyxku3okzMOvnuzh_6uD3tVTpRuRPs4zWMaWML2iauemYqx82EA4UYQky1cHW_uGqblhODe40z_mRZNS9ruxGRoXj46uDrqj1UF4tmLk-64k8JJxxDHkMpX5gC6eaERtIdpDldLgSF8KlkkJjv__A&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': 'uZJk7sVqo5XGGNL3tTKp', 'refresh_token': '76qojORipwILBa67gSipZHi06YrOXcW8DgjXMJoE', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiaDdULWk0bmQ2LVNjZ0VmdEROeWJ1QSIsIm5vbmNlIjoiMm1kaEhTWkQ4VnN6NGpMYyIsImlhdCI6MTU2MDc1NDk2NiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6ImZFVXFURnZWSmtZYlJSZ2QxY0o4Q3ciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODM4NiwiYXVkIjoiRU9KYTlmTkZvR2NHTTVWbGI5RTYifQ.qxd7zBCw4O9pJJklnn_0Bs1xnKJsoiSPTkMaonD7U9zwITWBPcmm0lYp-W4CqxF_4IbN7dOFM3waiCNmkzlvin7SjmkcpqGGWSphrEDwXhNMg0NZSVb6FHDl7xZeKIg31fjYQ8ok-V2uECKUg8gDfSxtjfXAAf0yMuayNZy3U8z06x6_2M_X_lVfD5kaG1Mda3zyvDsEtxgoIeCfDcODWeeMA7uKV0FbyOusfbOp_OYjjnFqMX3Zx0enuSbgAhAKa0WE9I_vkDh6xN7UfiU7c_CWaYFWK96GAk1YrYcWi23m-QUtnTWNXuBhghy9PKX2DGbMGhJbt0ddZ2RvSetvDg', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "uZJk7sVqo5XGGNL3tTKp",
"expires_in": 3599,
"id_token": {
"at_hash": "fEUqTFvVJkYbRRgd1cJ8Cw",
"aud": [
"EOJa9fNFoGcGM5Vlb9E6"
],
"exp": 1560758386,
"iat": 1560754966,
"iss": "https://isamfed.com:30443/test",
"nonce": "2mdhHSZD8Vsz4jLc",
"rt_hash": "h7T-i4nd6-ScgEftDNybuA",
"sub": "testuser"
},
"refresh_token": "76qojORipwILBa67gSipZHi06YrOXcW8DgjXMJoE",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'TFmBBNEYiJfCiCNv', 'method': 'GET', 'authn_method': 'bearer_header', 'ctype': 'jwt'}
|
3 | request | {'body': None} |
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
3 | request_http_args | {'headers': {'Authorization': 'Bearer uZJk7sVqo5XGGNL3tTKp'}} |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
4 | OpenIDSchema | {
"aud": "EOJa9fNFoGcGM5Vlb9E6",
"iss": "https://isamfed.com:30443/test",
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"aud": "EOJa9fNFoGcGM5Vlb9E6",
"iss": "https://isamfed.com:30443/test",
"sub": "testuser"
}
|
4 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
4 | phase | <--<-- 6 --- Done -->--> |
4 | end | |
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 |