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 | not expected to do | Dynamic registration |
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"claims": {
"userinfo": {
"name": {
"essential": true
}
}
},
"client_id": "clientID",
"nonce": "kDoEk5d2Gce8XQCI",
"redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
"response_type": "code id_token token",
"scope": "openid",
"state": "BttN6FHxFMfJW0gj"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=BttN6FHxFMfJW0gj&nonce=kDoEk5d2Gce8XQCI&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%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=BttN6FHxFMfJW0gj&nonce=kDoEk5d2Gce8XQCI&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=clientID |
1 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=97jjWcuxJtKq1bOlpaUM&state=BttN6FHxFMfJW0gj&expires_in=3599&token_type=bearer&code=RXRzgRyl6YgXJzaTiVw9IndwbrdxBj&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImtEb0VrNWQyR2NlOFhRQ0kiLCJuYW1lIjoiaXNhbWZlZCB0ZXN0dXNlciIsImlhdCI6MTU2MDc1OTc2NiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkltV0hqaDRjMXNrcjRDU3diNXNfeEEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzE4NiwiY19oYXNoIjoiNkttejVjVVpDVV9wZ0YxVlhCYktkUSIsImF1ZCI6ImNsaWVudElEIn0.Oc4_JmdLQoJYHjHvO6BL2KiaB0-cD0UwEiyiS8iz1wS93bXAtVr6VkOxLD4ZZmMx3nNNNtSUn7ogu517y1zQS8wjgtvTMY6VlWAlTIHPRO6uOi5aU120RxZnoirKmvjo1UYnOV2_gdajs7BvA0b-Vy5RDjvU4JwwtVtH8tyVbcUhQFkS26OTeRXhpnnnZWGy3bzuXltQHClUi9M5hfDr-2WRLDGJEQ0guqmuzUYa5qeLfaCKkjCddnPKcCKcD7RJCI8GRXMj53ylRUGDS95EG_rd6TZwX_XyiapCItLZaS1aWWvXL2YPDpE17BnHiSphTLRLeF5_g0oAbdjIrukYtQ |
2 | response | {'access_token': '97jjWcuxJtKq1bOlpaUM', 'state': 'BttN6FHxFMfJW0gj', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'RXRzgRyl6YgXJzaTiVw9IndwbrdxBj', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImtEb0VrNWQyR2NlOFhRQ0kiLCJuYW1lIjoiaXNhbWZlZCB0ZXN0dXNlciIsImlhdCI6MTU2MDc1OTc2NiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkltV0hqaDRjMXNrcjRDU3diNXNfeEEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzE4NiwiY19oYXNoIjoiNkttejVjVVpDVV9wZ0YxVlhCYktkUSIsImF1ZCI6ImNsaWVudElEIn0.Oc4_JmdLQoJYHjHvO6BL2KiaB0-cD0UwEiyiS8iz1wS93bXAtVr6VkOxLD4ZZmMx3nNNNtSUn7ogu517y1zQS8wjgtvTMY6VlWAlTIHPRO6uOi5aU120RxZnoirKmvjo1UYnOV2_gdajs7BvA0b-Vy5RDjvU4JwwtVtH8tyVbcUhQFkS26OTeRXhpnnnZWGy3bzuXltQHClUi9M5hfDr-2WRLDGJEQ0guqmuzUYa5qeLfaCKkjCddnPKcCKcD7RJCI8GRXMj53ylRUGDS95EG_rd6TZwX_XyiapCItLZaS1aWWvXL2YPDpE17BnHiSphTLRLeF5_g0oAbdjIrukYtQ'} |
2 | AuthorizationResponse | {
"access_token": "97jjWcuxJtKq1bOlpaUM",
"code": "RXRzgRyl6YgXJzaTiVw9IndwbrdxBj",
"expires_in": 3599,
"id_token": {
"at_hash": "ImWHjh4c1skr4CSwb5s_xA",
"aud": [
"clientID"
],
"c_hash": "6Kmz5cUZCU_pgF1VXBbKdQ",
"exp": 1560763186,
"iat": 1560759766,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "kDoEk5d2Gce8XQCI",
"sub": "testuser"
},
"scope": "openid",
"state": "BttN6FHxFMfJW0gj",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'BttN6FHxFMfJW0gj'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb', 'code': 'RXRzgRyl6YgXJzaTiVw9IndwbrdxBj', 'state': 'BttN6FHxFMfJW0gj', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'BttN6FHxFMfJW0gj', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "RXRzgRyl6YgXJzaTiVw9IndwbrdxBj",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
"state": "BttN6FHxFMfJW0gj"
}
|
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
2 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
2 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&code=RXRzgRyl6YgXJzaTiVw9IndwbrdxBj&state=BttN6FHxFMfJW0gj |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'TmOrEDbG1rVXcaDINMRG', 'refresh_token': 'QtpdVmTXXkeep4l3Tg26BaWU7aATJ3EkQk6Vpdi4', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiUnFHUEdmV1hjZkQwWVpOaUl0V1hUdyIsIm5vbmNlIjoia0RvRWs1ZDJHY2U4WFFDSSIsImlhdCI6MTU2MDc1OTc2OCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkNEVkw5QUVhUjVmdV9mWjFqd29RM3ciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzE4OCwiYXVkIjoiY2xpZW50SUQifQ.a2OOse3VfjJYbdpDs88R8nuNIiMPhyZvzu8G6eY215JvFr4CNLE-qgkg30fR75pIyTGKJPc59KuyKfwl33DMH3o7a1ie81Dbf6PWcIVfcEYPrjjG2hvp_3s-sUJve-Fbo7BKrP-4JKuea3nTpH9tsiqe4AIQ0KuH0XUiNzyD6HRwc_B169IO2ppJI4WUfq4sB6HYtcqiUiQX-zo40qGLL7Hw_0uVXmI4772iktNfzubJSisl4VjKddQh-pvqUQCIyk3u99WZcVSCvCSGKh5BEi44YjB0kOcOkeXRHVXqGCVN3tCOrx1p76kdwNmj1kpQVskGCrhJ1ALUm5GOZrJ0rA', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "TmOrEDbG1rVXcaDINMRG",
"expires_in": 3599,
"id_token": {
"at_hash": "CDVL9AEaR5fu_fZ1jwoQ3w",
"aud": [
"clientID"
],
"exp": 1560763188,
"iat": 1560759768,
"iss": "https://isamfed.com:30443/test",
"nonce": "kDoEk5d2Gce8XQCI",
"rt_hash": "RqGPGfWXcfD0YZNiItWXTw",
"sub": "testuser"
},
"refresh_token": "QtpdVmTXXkeep4l3Tg26BaWU7aATJ3EkQk6Vpdi4",
"scope": "openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'BttN6FHxFMfJW0gj', 'method': 'GET', 'authn_method': 'bearer_header'}
|
2 | request | {'body': None} |
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
2 | request_http_args | {'headers': {'Authorization': 'Bearer TmOrEDbG1rVXcaDINMRG'}} |
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 |