0 | phase | <--<-- 0 --- Note -->--> |
1 | phase | <--<-- 1 --- Webfinger -->--> |
1 | not expected to do | WebFinger |
1 | phase | <--<-- 2 --- Discovery -->--> |
1 | 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_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 | <--<-- 3 --- Registration -->--> |
1 | 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'}
|
1 | 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"
}
|
1 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
1 | RegistrationResponse | {
"application_type": "web",
"client_id": "BpvFomj3pwNe2LwmZoIK",
"client_id_issued_at": 1560755062,
"client_secret": "MJeOsuUtcjP1XJJdS8Qw",
"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": "Zo3eKSdRoWARUUpDVESb",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=BpvFomj3pwNe2LwmZoIK",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 4 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"claims_locales": "test",
"client_id": "BpvFomj3pwNe2LwmZoIK",
"nonce": "Aunjjm4DVcJDrEEL",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"response_type": "code token",
"scope": "openid",
"state": "jhaZsTFbeiO8VGLS"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jhaZsTFbeiO8VGLS&nonce=Aunjjm4DVcJDrEEL&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&claims_locales=test&client_id=BpvFomj3pwNe2LwmZoIK |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jhaZsTFbeiO8VGLS&nonce=Aunjjm4DVcJDrEEL&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&claims_locales=test&client_id=BpvFomj3pwNe2LwmZoIK |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=tzyf2P5sSPpF24X5Z7BZ&state=jhaZsTFbeiO8VGLS&expires_in=3599&token_type=bearer&code=2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV&scope=openid |
2 | response | {'access_token': 'tzyf2P5sSPpF24X5Z7BZ', 'state': 'jhaZsTFbeiO8VGLS', 'expires_in': 3599, 'token_type': 'bearer', 'code': '2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV', 'scope': 'openid'} |
2 | AuthorizationResponse | {
"access_token": "tzyf2P5sSPpF24X5Z7BZ",
"code": "2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV",
"expires_in": 3599,
"scope": "openid",
"state": "jhaZsTFbeiO8VGLS",
"token_type": "bearer"
}
|
2 | phase | <--<-- 5 --- AccessToken -->--> |
2 | request | op_args: {'state': 'jhaZsTFbeiO8VGLS'}, 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': '2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV', 'state': 'jhaZsTFbeiO8VGLS', 'grant_type': 'authorization_code', 'client_id': 'BpvFomj3pwNe2LwmZoIK'}, 'state': 'jhaZsTFbeiO8VGLS', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiQnB2Rm9tajNwd05lMkx3bVpvSUsiLCAic3ViIjogIkJwdkZvbWozcHdOZTJMd21ab0lLIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJuNENMUmZrczRYcGZQVG5ibDB0S0ZOQWlzN3N2djNLZyIsICJleHAiOiAxNTYwNzU1NjYzLCAiaWF0IjogMTU2MDc1NTA2M30.zYRLqr4M8xq0d5_YwV7vRsQQRu_fThWEFIoQuUVAvXt2xQi9IlI84SwSnBgL_Ex96fgfFnz6ai-PhVO6DJJcxOZfJtJAtfY99hjtf-8P2aUq-u039C-q68TL3Kv4uoZA5lWLIynbfop8DPDjTMm1s5WpiZcPcT7rOe5Z6LQhxrpsFqN8ppzS6Ccl26Z86jNGz04rnwJF9xgQi0PxyZsAGxukvL9ivZm3ZXcx1eWJ1FWINII6QdsfOITlhgXajTOzXACXJt62_TN1CdRLrWkBhR7rR3-9zlYrnWZSgj8nc_M5nEfznSgMVBsgO0YYoHE3WeU46h_K9GJUoMwLAlIA3Q",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
"state": "jhaZsTFbeiO8VGLS"
}
|
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=2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV&state=jhaZsTFbeiO8VGLS&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiQnB2Rm9tajNwd05lMkx3bVpvSUsiLCAic3ViIjogIkJwdkZvbWozcHdOZTJMd21ab0lLIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJuNENMUmZrczRYcGZQVG5ibDB0S0ZOQWlzN3N2djNLZyIsICJleHAiOiAxNTYwNzU1NjYzLCAiaWF0IjogMTU2MDc1NTA2M30.zYRLqr4M8xq0d5_YwV7vRsQQRu_fThWEFIoQuUVAvXt2xQi9IlI84SwSnBgL_Ex96fgfFnz6ai-PhVO6DJJcxOZfJtJAtfY99hjtf-8P2aUq-u039C-q68TL3Kv4uoZA5lWLIynbfop8DPDjTMm1s5WpiZcPcT7rOe5Z6LQhxrpsFqN8ppzS6Ccl26Z86jNGz04rnwJF9xgQi0PxyZsAGxukvL9ivZm3ZXcx1eWJ1FWINII6QdsfOITlhgXajTOzXACXJt62_TN1CdRLrWkBhR7rR3-9zlYrnWZSgj8nc_M5nEfznSgMVBsgO0YYoHE3WeU46h_K9GJUoMwLAlIA3Q&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': 'iVe0KSu1IbmzuMvVyv6P', 'refresh_token': 'GFuuXdnd0Fgt3M6FP1UNhGEpw7AHOFbsQBNjedrU', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiWVNlYzJpZ0NBMF9ZRmd2aXZNZ3dNUSIsIm5vbmNlIjoiQXVuamptNERWY0pEckVFTCIsImlhdCI6MTU2MDc1NTA2NCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IjJzVG9hTnRDM3A5TFBMbmVTNXd2TEEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODQ4NCwiYXVkIjoiQnB2Rm9tajNwd05lMkx3bVpvSUsifQ.UdqnkEiuLZoYx-PDQT6JYHEx-_CWlxcBOLSB1dOLqT3aQjJNQyt68edQUK44aDFVyJwBuPoCb_FzZcr110WOLBfE-jDBLgyIwK7buqK5nBiTHVRlnqM4b8rDxcNDlC-mDqHabvlcnk7YTAgiOTiOZ-l2-V8rQo9Kp1NGVq_GlIlYY7_-gbDjtcsUtEj4fuZY5ozoyK-FjbS-evAgnZ6IzmX-f4xhtUkmDVzi6qBui4aAqwrF0NGtGCHQ4XVULMV3WJTCnD_xGMR2h73hxsOnzXvn7oqCWXzL1tUzDTo-SuwUOTWQsUhYpWyLT2l7g6qyiYNRWquay8mDdPLZZ2UQAg', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "iVe0KSu1IbmzuMvVyv6P",
"expires_in": 3599,
"id_token": {
"at_hash": "2sToaNtC3p9LPLneS5wvLA",
"aud": [
"BpvFomj3pwNe2LwmZoIK"
],
"exp": 1560758484,
"iat": 1560755064,
"iss": "https://isamfed.com:30443/test",
"nonce": "Aunjjm4DVcJDrEEL",
"rt_hash": "YSec2igCA0_YFgvivMgwMQ",
"sub": "testuser"
},
"refresh_token": "GFuuXdnd0Fgt3M6FP1UNhGEpw7AHOFbsQBNjedrU",
"scope": "openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | phase | <--<-- 6 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'jhaZsTFbeiO8VGLS', '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 iVe0KSu1IbmzuMvVyv6P'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"sub": "testuser"
}
|
3 | phase | <--<-- 7 --- DisplayUserInfo -->--> |
3 | phase | <--<-- 8 --- Done -->--> |
3 | end | |
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 |