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 | {
"client_id": "clientID",
"nonce": "9x1ASxO6ErQOHQDG",
"redirect_uri": "https://op.certification.openid.net:61569/authz_cb",
"response_type": "code token",
"scope": "openid",
"state": "q6mZ1A8Rws2H1Rlz"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=q6mZ1A8Rws2H1Rlz&nonce=9x1ASxO6ErQOHQDG&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&client_id=clientID |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=q6mZ1A8Rws2H1Rlz&nonce=9x1ASxO6ErQOHQDG&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&client_id=clientID |
1 | http args | {} |
1 | response | URL with fragment |
1 | response | access_token=xw08PEUievlUditXXbif&state=q6mZ1A8Rws2H1Rlz&expires_in=3599&token_type=bearer&code=uKFT8sTC4K2Q4kdYWBIYZ9ZnKuyYSi&scope=openid |
1 | response | {'access_token': 'xw08PEUievlUditXXbif', 'state': 'q6mZ1A8Rws2H1Rlz', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'uKFT8sTC4K2Q4kdYWBIYZ9ZnKuyYSi', 'scope': 'openid'} |
1 | AuthorizationResponse | {
"access_token": "xw08PEUievlUditXXbif",
"code": "uKFT8sTC4K2Q4kdYWBIYZ9ZnKuyYSi",
"expires_in": 3599,
"scope": "openid",
"state": "q6mZ1A8Rws2H1Rlz",
"token_type": "bearer"
}
|
1 | phase | <--<-- 4 --- AccessToken -->--> |
1 | request | op_args: {'state': 'q6mZ1A8Rws2H1Rlz'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61569/authz_cb'} |
1 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61569/authz_cb', 'code': 'uKFT8sTC4K2Q4kdYWBIYZ9ZnKuyYSi', 'state': 'q6mZ1A8Rws2H1Rlz', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'q6mZ1A8Rws2H1Rlz', 'authn_method': 'client_secret_basic'}
|
1 | AccessTokenRequest | {
"code": "uKFT8sTC4K2Q4kdYWBIYZ9ZnKuyYSi",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61569/authz_cb",
"state": "q6mZ1A8Rws2H1Rlz"
}
|
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%3A61569%2Fauthz_cb&code=uKFT8sTC4K2Q4kdYWBIYZ9ZnKuyYSi&state=q6mZ1A8Rws2H1Rlz |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 'ggMdNTVYuhbdMKjSQKZ1', 'refresh_token': 'gCzFxP42fGBbUmlA6AQGXkyue8O5emOE5qSEv44t', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoia1ZNYXg2NlNzNGNCc29keVN3ZmVBZyIsIm5vbmNlIjoiOXgxQVN4TzZFclFPSFFERyIsImlhdCI6MTU2MDc1ODE2NywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6ImRCa0g2QS00eEd2YllPZnNNenNUYlEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MTU4NywiYXVkIjoiY2xpZW50SUQifQ.joSO0A5B87NTaPH7wiE_fhao2rlMuT96ATtJoB6MOmsj4Ke2RvoAP2SW0t7YDm9U3kmSuzfA7pgDwf5RDpQe7IWRNKaFVkWAd1nWCPK3ipdOfQ-gMO18IeddV7q6KKkoXgGf2EaAqwRUEoHlZ_VvptXbZZBwqxYHUngzdX9Pa6meZXStHhoQstOKqQ9acSy7vZN8bCH28KD1jiAr_dPAnSjtkM3pkgD9aLhaVbCcmwOrqtQOGg3_81qzch12K8x23m1V4FHonh-zrLh4-OR8tMmAwVGVEvIwhon2SJUIhKgweQLvcJqg2a6OOFj6nIKjlV8vbsFI4FfHJOGTHkESkQ', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "ggMdNTVYuhbdMKjSQKZ1",
"expires_in": 3599,
"id_token": {
"at_hash": "dBkH6A-4xGvbYOfsMzsTbQ",
"aud": [
"clientID"
],
"exp": 1560761587,
"iat": 1560758167,
"iss": "https://isamfed.com:30443/test",
"nonce": "9x1ASxO6ErQOHQDG",
"rt_hash": "kVMax66Ss4cBsodySwfeAg",
"sub": "testuser"
},
"refresh_token": "gCzFxP42fGBbUmlA6AQGXkyue8O5emOE5qSEv44t",
"scope": "openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | phase | <--<-- 5 --- AsyncAuthn -->--> |
2 | AuthorizationRequest | {
"client_id": "clientID",
"max_age": 10000,
"nonce": "J8ahlx3ucC9CP3VW",
"redirect_uri": "https://op.certification.openid.net:61569/authz_cb",
"response_type": "code token",
"scope": "openid",
"state": "jnbu8TcQTZ9DKaP1"
}
|
2 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jnbu8TcQTZ9DKaP1&nonce=J8ahlx3ucC9CP3VW&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&max_age=10000&client_id=clientID |
2 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jnbu8TcQTZ9DKaP1&nonce=J8ahlx3ucC9CP3VW&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&max_age=10000&client_id=clientID |
3 | http args | {} |
3 | response | URL with fragment |
3 | response | access_token=pvvM0HK0rFi6E2pRwihr&state=jnbu8TcQTZ9DKaP1&expires_in=3599&token_type=bearer&code=IfJ0QmG6rpswvG09n42tMVSQEj5zNp&scope=openid |
3 | response | {'access_token': 'pvvM0HK0rFi6E2pRwihr', 'state': 'jnbu8TcQTZ9DKaP1', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'IfJ0QmG6rpswvG09n42tMVSQEj5zNp', 'scope': 'openid'} |
3 | AuthorizationResponse | {
"access_token": "pvvM0HK0rFi6E2pRwihr",
"code": "IfJ0QmG6rpswvG09n42tMVSQEj5zNp",
"expires_in": 3599,
"scope": "openid",
"state": "jnbu8TcQTZ9DKaP1",
"token_type": "bearer"
}
|
3 | phase | <--<-- 6 --- AccessToken -->--> |
3 | request | op_args: {'state': 'jnbu8TcQTZ9DKaP1'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61569/authz_cb'} |
3 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61569/authz_cb', 'code': 'IfJ0QmG6rpswvG09n42tMVSQEj5zNp', 'state': 'jnbu8TcQTZ9DKaP1', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'jnbu8TcQTZ9DKaP1', 'authn_method': 'client_secret_basic'}
|
3 | AccessTokenRequest | {
"code": "IfJ0QmG6rpswvG09n42tMVSQEj5zNp",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61569/authz_cb",
"state": "jnbu8TcQTZ9DKaP1"
}
|
3 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
3 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
3 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61569%2Fauthz_cb&code=IfJ0QmG6rpswvG09n42tMVSQEj5zNp&state=jnbu8TcQTZ9DKaP1 |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
4 | response | {'access_token': 'y8ReXjomaWclsGjKS72b', 'refresh_token': 'SWzU1laoDmOVZPJi0GY8vId8hIWQaJbYQlzZegPa', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJhdXRoX3RpbWUiOjE1NjA3NTgxNjksInJ0X2hhc2giOiIwVEVsa3ZRVWtSb3NtaG5ES19HOHNBIiwibm9uY2UiOiJKOGFobHgzdWNDOUNQM1ZXIiwiaWF0IjoxNTYwNzU4MTY5LCJpc3MiOiJodHRwczovL2lzYW1mZWQuY29tOjMwNDQzL3Rlc3QiLCJhdF9oYXNoIjoiWnl5ZHRGa0s4VVowcU5neDRfdHB5dyIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzYxNTg5LCJhdWQiOiJjbGllbnRJRCJ9.1fNLn1pJz5PbkIJyIOPalb9NZC9aaAsYoYDdm0M0K_drdZGRtCPqUI9txzXTeJ1BFoWYeiGUF6f_v3NpC4AVENzGytnvqD6udSNKOqEIN74e4bYTkn3nl-pwGR9PHFjhIfJQzFv_UcYRDQYxdRrj39pTWF068UTtv-74dzRzxhi-GuiykrD63EFyB5URhNO-u61xxrnOZSbCnsXpaccP1NY7fDkgwlUYAHiEKkoS80e_XTJQWGEZFFgEMD2MeqpmIylJ4J6jFvL3epPfBocJbGLpjKRyZa5JYHF1oTBnEp47US-9c8lZNntNVL91R8Ftfdt9SB0kX9zRYUb1G7czOg', 'token_type': 'bearer', 'expires_in': 3599} |
4 | AccessTokenResponse | {
"access_token": "y8ReXjomaWclsGjKS72b",
"expires_in": 3599,
"id_token": {
"at_hash": "ZyydtFkK8UZ0qNgx4_tpyw",
"aud": [
"clientID"
],
"auth_time": 1560758169,
"exp": 1560761589,
"iat": 1560758169,
"iss": "https://isamfed.com:30443/test",
"nonce": "J8ahlx3ucC9CP3VW",
"rt_hash": "0TElkvQUkRosmhnDK_G8sA",
"sub": "testuser"
},
"refresh_token": "SWzU1laoDmOVZPJi0GY8vId8hIWQaJbYQlzZegPa",
"scope": "openid",
"token_type": "bearer"
}
|
4 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
4 | phase | <--<-- 7 --- Done -->--> |
4 | end | |
4 | assertion | ClaimsCheck |
4 | condition | claims-check: status=OK [Checks if specific claims is present or not] |
4 | assertion | SameAuthn |
4 | condition | Done: status=OK |