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_encryption_alg_values_supported": [
"A128KW"
],
"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"
}
|
0 | phase | <--<-- 2 --- Registration -->--> |
0 | not expected to do | Dynamic registration |
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"claims": {
"userinfo": {
"name": {
"essential": true
}
}
},
"client_id": "clientID",
"nonce": "SUjXCQpFlEtNdQDA",
"redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "Cq4hsFveoNYJbri0"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Cq4hsFveoNYJbri0&nonce=SUjXCQpFlEtNdQDA&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=clientID |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Cq4hsFveoNYJbri0&nonce=SUjXCQpFlEtNdQDA&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=clientID |
1 | response | Response URL with query part |
1 | response | {'state': 'Cq4hsFveoNYJbri0', 'code': 'wBGCn0An9bPsBiispepHIDRWsI8EzL'} |
1 | response | {'state': 'Cq4hsFveoNYJbri0', 'code': 'wBGCn0An9bPsBiispepHIDRWsI8EzL'} |
1 | AuthorizationResponse | {
"code": "wBGCn0An9bPsBiispepHIDRWsI8EzL",
"state": "Cq4hsFveoNYJbri0"
}
|
1 | phase | <--<-- 4 --- AccessToken -->--> |
1 | request | op_args: {'state': 'Cq4hsFveoNYJbri0'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb'} |
1 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb', 'code': 'wBGCn0An9bPsBiispepHIDRWsI8EzL', 'state': 'Cq4hsFveoNYJbri0', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'Cq4hsFveoNYJbri0', 'authn_method': 'client_secret_basic'}
|
1 | AccessTokenRequest | {
"code": "wBGCn0An9bPsBiispepHIDRWsI8EzL",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
"state": "Cq4hsFveoNYJbri0"
}
|
1 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
1 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
1 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&code=wBGCn0An9bPsBiispepHIDRWsI8EzL&state=Cq4hsFveoNYJbri0 |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': '3y3tvM6Oydi0KdkPJHGa', 'refresh_token': 'QnSSKGaV7raBD6I1IaZvDsXeD9NUVFH3ZxgRZE0b', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.xveGJ-GYMIFTPlAhnMZ00HqhqN7UqWtj5NUnssPjr-EM49cDxHTC9A.0Unr9DwYeoQCuKSX11wFFA.XNGU7snBkv810en168HR4toHOaPlJp4e2L8zY2bObCkEUIIb7zsvfdqVETlogd__ecyAi1nNMuWdm0CscH-rbWjVddQV3PsDIOkMLB8Bvftt7nMpXXRlleFSqZ_grpZy6fFc9Etwlv0u55DMFkNs5fGKglIpSM0GDQqKJRb2qulrjji6-LJcRkU7bFMuDxd3TZxQvN_-tx58JS7EtvzxItGnkT1iTYzuVEkh1KHDp0-TDdTKWSKAa1mZJPy_Hq2lVjBIKowoXnEmjj9xplHPqdi65coklhdMptT0XwDVC8WJehSDPBzQLEUK9ib5ZS0S0-AeLfskfdEgPgvaNs6hr_UzUND_-vSo1ND70XSa5Wx4mAFgkFWBiJDnIRuvCxJmnA6pO9aJImXrmRcBIg1jtZIrkFBUXP8hE35f8GoG1hKqRoqtqZ5gVD7N8g_tG3FJEdxT3cHJlOwDA-zAbeFUmEvpl_bVvp_HID0Gna6Q5QmxST1_ovVV4v8Ql976avgWQVZvMN3OaZtMn4oovYO9GQbHu1jjBrRtGBVtpTFKkZHm_Ctq0yB7Di6NPMWvgVHsweQCb5XAcZZICwS103LDfJN0XtOoDm0Dkx0etIVSt-P-9tM1ZMzNLYRmFi1cFTz-p50ig43KzwRD2YgHRzlFTwG14fNVTAvoctwKD4kEHPkc3lvQSr3-jYVxJ_a-NspIDAeWkM11fiyNdP5vda8_HxrLVO1D4GMWdE1FDUBddYMod4mpEgJuuaSAsTUvhRcpuFcqKcCNmwtzM0Pig3EZjo_KjmV-nfXRQ-cmc59_tuLsy4AotSQ8t9oTlq7FnhrUs8rNRZseXTWHNs3ae3MZhVLOIPLJgDeN2nwATHo6kWAkmw7Bxj4S8MgkxMpKHd80vCM-7_msfqRc4i-3Jysfpvsz_oUOxjGwggpZw4Uzj89uw6Ox2y-nOz-QeFtn7gf7.8OUyN241hmZ7qw3gIklr6A', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "3y3tvM6Oydi0KdkPJHGa",
"expires_in": 3599,
"id_token": {
"at_hash": "39zge_ModOatynYIgE_T_A",
"aud": [
"clientID"
],
"exp": 1560834501,
"iat": 1560831081,
"iss": "https://isamfed.com:30443/test",
"nonce": "SUjXCQpFlEtNdQDA",
"rt_hash": "P6nGWzqMMKItfHz0MFpgmg",
"sub": "testuser"
},
"refresh_token": "QnSSKGaV7raBD6I1IaZvDsXeD9NUVFH3ZxgRZE0b",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | jwe header | {'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'Cq4hsFveoNYJbri0', '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 3y3tvM6Oydi0KdkPJHGa'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
3 | phase | <--<-- 6 --- Done -->--> |
3 | end | |
3 | assertion | VerifyClaims |
3 | condition | verify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for] |
3 | assertion | CheckHTTPResponse |
3 | 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] |
3 | condition | Done: status=OK |