0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- Discovery -->--> |
0 | provider_config | kwargs:{'issuer': 'https://isamfed.com:30443/test'}
|
1 | http response | url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
|
1 | 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_encryption_alg_values_supported": [
"RSA-OAEP-256"
],
"id_token_encryption_enc_values_supported": [
"A128CBC-HS256"
],
"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"
}
|
1 | phase | <--<-- 2 --- Registration -->--> |
1 | register | kwargs:{'response_types': ['code'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61583/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61583/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61583/static/jwks_61583.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
1 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61583/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61583/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": "cxLK8Nekq4VU6dajGObC",
"client_id_issued_at": 1560786201,
"client_secret": "Se27FkhV2q9U6bILhdtH",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61583/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61583/authz_cb"
],
"registration_access_token": "acd8kOQXdLQ7K5kjOaaf",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=cxLK8Nekq4VU6dajGObC",
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "cxLK8Nekq4VU6dajGObC",
"nonce": "XxyFP3fw2L5pQMh5",
"redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "1fxvLuqfuetZlATt"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=1fxvLuqfuetZlATt&nonce=XxyFP3fw2L5pQMh5&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=cxLK8Nekq4VU6dajGObC |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=1fxvLuqfuetZlATt&nonce=XxyFP3fw2L5pQMh5&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=cxLK8Nekq4VU6dajGObC |
2 | response | Response URL with query part |
2 | response | {'state': '1fxvLuqfuetZlATt', 'code': '4OvHBwxbFWWI5I2iIWAALNdlewuSqp'} |
2 | response | {'state': '1fxvLuqfuetZlATt', 'code': '4OvHBwxbFWWI5I2iIWAALNdlewuSqp'} |
2 | AuthorizationResponse | {
"code": "4OvHBwxbFWWI5I2iIWAALNdlewuSqp",
"state": "1fxvLuqfuetZlATt"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': '1fxvLuqfuetZlATt'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb', 'code': '4OvHBwxbFWWI5I2iIWAALNdlewuSqp', 'state': '1fxvLuqfuetZlATt', 'grant_type': 'authorization_code', 'client_id': 'cxLK8Nekq4VU6dajGObC'}, 'state': '1fxvLuqfuetZlATt', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiY3hMSzhOZWtxNFZVNmRhakdPYkMiLCAic3ViIjogImN4TEs4TmVrcTRWVTZkYWpHT2JDIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJlS2YyZWdreW5JdFkzNFNLeTZib1R5anh1SFFHT3BhbSIsICJleHAiOiAxNTYwNzg2ODAyLCAiaWF0IjogMTU2MDc4NjIwMn0.jNc0-BiGDT6MbOvqTLNgdVt8fWvpbX5b6NrlRQ_hXpciU3w4suvOE2naC6NIJSqjORU_LUtGwMXi3dX0oNBgp1B14TZSR1rwcXE0571oolSTj-y14VxB-omTJJMt_7Sj8fgTiVrQwIWhFvoAAXMfMjq7MJOVlDrjtWKIGGd5_UcqPRcmeqGYA9eOyoqKaelTX1l8ofBQ9j8SBJU7-wHsaM-PedFJ_Tp5mbfhdlybqwcqS5N70j4Ceecw_x7XjZWmwxOjqXGTUM3flD0r06ktmb4oU-zM2ZQE_JlyFEv3cVRugZcNVIE2xHOMvqBRf8IU4k51ea9RA69wQLxfNM_9lA",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "4OvHBwxbFWWI5I2iIWAALNdlewuSqp",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
"state": "1fxvLuqfuetZlATt"
}
|
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%3A61583%2Fauthz_cb&code=4OvHBwxbFWWI5I2iIWAALNdlewuSqp&state=1fxvLuqfuetZlATt&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiY3hMSzhOZWtxNFZVNmRhakdPYkMiLCAic3ViIjogImN4TEs4TmVrcTRWVTZkYWpHT2JDIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJlS2YyZWdreW5JdFkzNFNLeTZib1R5anh1SFFHT3BhbSIsICJleHAiOiAxNTYwNzg2ODAyLCAiaWF0IjogMTU2MDc4NjIwMn0.jNc0-BiGDT6MbOvqTLNgdVt8fWvpbX5b6NrlRQ_hXpciU3w4suvOE2naC6NIJSqjORU_LUtGwMXi3dX0oNBgp1B14TZSR1rwcXE0571oolSTj-y14VxB-omTJJMt_7Sj8fgTiVrQwIWhFvoAAXMfMjq7MJOVlDrjtWKIGGd5_UcqPRcmeqGYA9eOyoqKaelTX1l8ofBQ9j8SBJU7-wHsaM-PedFJ_Tp5mbfhdlybqwcqS5N70j4Ceecw_x7XjZWmwxOjqXGTUM3flD0r06ktmb4oU-zM2ZQE_JlyFEv3cVRugZcNVIE2xHOMvqBRf8IU4k51ea9RA69wQLxfNM_9lA&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': 'wwkQLurzeCC4C4SxDpq2', 'refresh_token': 'vNfvjlIU0rPCoU8Lo1nGfjg0kAYuVkuXxko8YvDi', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2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bywch7sKWMW43kIRE1GWTg_-GueTpAoi7A-tKgSMjRywVGxaQeSIJm4kcG4hhacNXNPktft8HPnOpOfKl9Atm_NH1J2sTogimVD_IfW7126bobyN9S5tzRadOvaCWJ-dxwRefKZvScdMWXIkj_E9EfdkClHNHoLPDW_8jUgCnFtVcQpDsLXDESaVNcfejvZT-HKJRqwspe81IfwqLnkp17gNwtjvRh74uktzqTi_oN995jFUuvBH0N9POo72vTovGm3IV3Wr5sDqDtte7tTKhVme-Gmky1pXDTgBjXyFpmodby1pWmef6n0Rg.YTbWoB2v74h1YaTgC80jgg', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "wwkQLurzeCC4C4SxDpq2",
"expires_in": 3599,
"id_token": {
"at_hash": "zb13OARyRqPBu8_TKCMoCw",
"aud": [
"cxLK8Nekq4VU6dajGObC"
],
"exp": 1560789623,
"iat": 1560786203,
"iss": "https://isamfed.com:30443/test",
"nonce": "XxyFP3fw2L5pQMh5",
"rt_hash": "4ov11H9UzMyLNtGWcfkeAA",
"sub": "testuser"
},
"refresh_token": "vNfvjlIU0rPCoU8Lo1nGfjg0kAYuVkuXxko8YvDi",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | jwe header | {'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': '1fxvLuqfuetZlATt', '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 wwkQLurzeCC4C4SxDpq2'}} |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
4 | OpenIDSchema | {
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"sub": "testuser"
}
|
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 |