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 | register | kwargs:{'response_types': ['code'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61164/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61164/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61164/static/jwks_61164.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
0 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61164/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61164/authz_cb"
],
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
0 | RegistrationResponse | {
"application_type": "web",
"client_id": "ofLEFW8UgCt9ZnVFkOSe",
"client_id_issued_at": 1560753513,
"client_secret": "SbS4RAMdYI5kbn3z02c0",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61164/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61164/authz_cb"
],
"registration_access_token": "az0Wxs8F5qzEiKpfgTEQ",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=ofLEFW8UgCt9ZnVFkOSe",
"response_types": [
"code"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "ofLEFW8UgCt9ZnVFkOSe",
"nonce": "x2GFljmGljpPnOkv",
"redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
"response_type": "code",
"scope": "openid",
"state": "a7fLEDsqU258xPXZ"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=a7fLEDsqU258xPXZ&nonce=x2GFljmGljpPnOkv&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=ofLEFW8UgCt9ZnVFkOSe |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=a7fLEDsqU258xPXZ&nonce=x2GFljmGljpPnOkv&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=ofLEFW8UgCt9ZnVFkOSe |
1 | response | Response URL with query part |
1 | response | {'state': 'a7fLEDsqU258xPXZ', 'code': 'jNqLqAtwy55o7LBDoP2DOfjqv5Aigz'} |
1 | response | {'state': 'a7fLEDsqU258xPXZ', 'code': 'jNqLqAtwy55o7LBDoP2DOfjqv5Aigz'} |
1 | AuthorizationResponse | {
"code": "jNqLqAtwy55o7LBDoP2DOfjqv5Aigz",
"state": "a7fLEDsqU258xPXZ"
}
|
1 | phase | <--<-- 4 --- AccessToken -->--> |
1 | request | op_args: {'state': 'a7fLEDsqU258xPXZ'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb'} |
1 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb', 'code': 'jNqLqAtwy55o7LBDoP2DOfjqv5Aigz', 'state': 'a7fLEDsqU258xPXZ', 'grant_type': 'authorization_code', 'client_id': 'ofLEFW8UgCt9ZnVFkOSe'}, 'state': 'a7fLEDsqU258xPXZ', 'authn_method': 'private_key_jwt'}
|
1 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAib2ZMRUZXOFVnQ3Q5Wm5WRmtPU2UiLCAic3ViIjogIm9mTEVGVzhVZ0N0OVpuVkZrT1NlIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJLYkRBaE1DWmY0djU4bGl2N2Nta0tFbk9Sa3dYbmFLeSIsICJleHAiOiAxNTYwNzU0MTE0LCAiaWF0IjogMTU2MDc1MzUxNH0.ppOr9Yv3mea_tKvDDpFk1m4kpSPNDEQo-SZJfoiEwomMW4AD5sMmLDOFijVP0Q9TxvbpDxjMWut0t0KyY-AuRwVzj6Y8EmCCuoOAV3ybFv1C7KB-A-pXIaioO2EbxyYpEFOtR9imLt5xlhpfLWj9PS7wrMQxDffnxtAU4qNxl80lyQblCCZQ4eJBOcQtJ8JL6L3U7leqoR1JOcchu6VRkUpe9I90cP5vd34Iuo1fPit2EwCejBWpNFdXupJYARimelxAkWUSlqUs1wv6xaN6gu_ATW20RQjgHMqOHAAIbwLWdsFY3BP_kVW7_TpwoFytrsUO0SjZWKVjo_mLcPIq6A",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "jNqLqAtwy55o7LBDoP2DOfjqv5Aigz",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
"state": "a7fLEDsqU258xPXZ"
}
|
1 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
1 | request_http_args | {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}} |
1 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&code=jNqLqAtwy55o7LBDoP2DOfjqv5Aigz&state=a7fLEDsqU258xPXZ&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAib2ZMRUZXOFVnQ3Q5Wm5WRmtPU2UiLCAic3ViIjogIm9mTEVGVzhVZ0N0OVpuVkZrT1NlIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJLYkRBaE1DWmY0djU4bGl2N2Nta0tFbk9Sa3dYbmFLeSIsICJleHAiOiAxNTYwNzU0MTE0LCAiaWF0IjogMTU2MDc1MzUxNH0.ppOr9Yv3mea_tKvDDpFk1m4kpSPNDEQo-SZJfoiEwomMW4AD5sMmLDOFijVP0Q9TxvbpDxjMWut0t0KyY-AuRwVzj6Y8EmCCuoOAV3ybFv1C7KB-A-pXIaioO2EbxyYpEFOtR9imLt5xlhpfLWj9PS7wrMQxDffnxtAU4qNxl80lyQblCCZQ4eJBOcQtJ8JL6L3U7leqoR1JOcchu6VRkUpe9I90cP5vd34Iuo1fPit2EwCejBWpNFdXupJYARimelxAkWUSlqUs1wv6xaN6gu_ATW20RQjgHMqOHAAIbwLWdsFY3BP_kVW7_TpwoFytrsUO0SjZWKVjo_mLcPIq6A&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': '9x9RXR3ZUzooatUWQ1wX', 'refresh_token': '4G55zEguHXfUi6Pft8d0CYVzuQ1dk35RmkQT0M1l', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiWTFveDBFeXlQQ3l0U3ZvaXdibmtfZyIsIm5vbmNlIjoieDJHRmxqbUdsanBQbk9rdiIsImlhdCI6MTU2MDc1MzUxNSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Ino3bXZTWEEyUlZ2WW1tdmRodG12MVEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1NjkzNSwiYXVkIjoib2ZMRUZXOFVnQ3Q5Wm5WRmtPU2UifQ.mmb5OWTa93gYAJf-pK5H3Zlx-l6pRrecYDV-v7LAG2kxX1IV0AYTiN8M7GoS_o4L4uyyqkVefYmfJ1JhM3hiQrBVpATNrcy5mMMlKLRF0rfhqFG2oDaaLv00Ejj4TT41XrwW1VpTALqTiEzclQb-2hJuR1hNjS6Ixjb-W0-ZXSU5voQXiJV6DPFhMSGAeZSyfuajdrUhToRGVF1A84td62YVlixY0eEQEDCMDUqI5MBdEm7aYBO09m0YF_SGDu5OQRvuCeeSKIL4BFZSinQ6b1YPnHmKjNkPTUVm-actxaS2t_eLeK_LWmA9SaUulxVx1MXRNk4Pw3SkuL9T5pqvWw', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "9x9RXR3ZUzooatUWQ1wX",
"expires_in": 3599,
"id_token": {
"at_hash": "z7mvSXA2RVvYmmvdhtmv1Q",
"aud": [
"ofLEFW8UgCt9ZnVFkOSe"
],
"exp": 1560756935,
"iat": 1560753515,
"iss": "https://isamfed.com:30443/test",
"nonce": "x2GFljmGljpPnOkv",
"rt_hash": "Y1ox0EyyPCytSvoiwbnk_g",
"sub": "testuser"
},
"refresh_token": "4G55zEguHXfUi6Pft8d0CYVzuQ1dk35RmkQT0M1l",
"scope": "openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | phase | <--<-- 5 --- Done -->--> |
2 | end | |
2 | assertion | VerifyResponse |
2 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
2 | assertion | IsIDTokenSigned |
2 | condition | is-idtoken-signed: status=OK [Checks if the id_token is signed] |
2 | condition | Done: status=OK |