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": [
"RSA-OAEP-256"
],
"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 | 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:61707/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61707/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61707/static/jwks_61707.json', 'token_endpoint_auth_method': 'private_key_jwt'}
|
0 | RegistrationRequest | {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61707/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61707/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": "NtNMnvrMU4unuogyTypW",
"client_id_issued_at": 1560784289,
"client_secret": "MoLXbYIdWBkFQhzWQvLe",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit",
"authorization_code"
],
"jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
"post_logout_redirect_uris": [
"https://op.certification.openid.net:61707/logout"
],
"redirect_uris": [
"https://op.certification.openid.net:61707/authz_cb"
],
"registration_access_token": "l6eD44HFjcZNFV0soXCr",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=NtNMnvrMU4unuogyTypW",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "NtNMnvrMU4unuogyTypW",
"nonce": "GGUrPkvT3K67MPsT",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"response_type": "code token",
"scope": "openid profile",
"state": "d0IJrn11lT5cdSU1"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=d0IJrn11lT5cdSU1&nonce=GGUrPkvT3K67MPsT&response_type=code+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=NtNMnvrMU4unuogyTypW |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=d0IJrn11lT5cdSU1&nonce=GGUrPkvT3K67MPsT&response_type=code+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=NtNMnvrMU4unuogyTypW |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=bgZkJsr5LyzVCDtNWmeU&state=d0IJrn11lT5cdSU1&expires_in=3599&token_type=bearer&code=PnRk1EcPPFMuhk9kXgsSvqj3sxeHuj&scope=openid%20profile |
2 | response | {'access_token': 'bgZkJsr5LyzVCDtNWmeU', 'state': 'd0IJrn11lT5cdSU1', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'PnRk1EcPPFMuhk9kXgsSvqj3sxeHuj', 'scope': 'openid profile'} |
2 | AuthorizationResponse | {
"access_token": "bgZkJsr5LyzVCDtNWmeU",
"code": "PnRk1EcPPFMuhk9kXgsSvqj3sxeHuj",
"expires_in": 3599,
"scope": "openid profile",
"state": "d0IJrn11lT5cdSU1",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'd0IJrn11lT5cdSU1'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'PnRk1EcPPFMuhk9kXgsSvqj3sxeHuj', 'state': 'd0IJrn11lT5cdSU1', 'grant_type': 'authorization_code', 'client_id': 'NtNMnvrMU4unuogyTypW'}, 'state': 'd0IJrn11lT5cdSU1', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTnROTW52ck1VNHVudW9neVR5cFciLCAic3ViIjogIk50Tk1udnJNVTR1bnVvZ3lUeXBXIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJENFpkNjg0NXQ4Z1BEREFrVU5BcEkzeDFHY3VxZXlncyIsICJleHAiOiAxNTYwNzg0ODkwLCAiaWF0IjogMTU2MDc4NDI5MH0.1M7KP7-0kgfQ3hICM6mPc-C_aMkLuiFOLn_JaAR_JbG-t5KSgQXzlB0pWXY02eydmzmusoggqziwA9RFZP3G5W_EtMqtoNcDsfDAM4zd1WYlt7BZMSabzm-Z3bepM9K2ftmAFmiC59wh6upt31VPo37npevb_xNAg5lqJAcmpVZpd0YB_uSCP7qJw4g6USC4Q5v3bfg5nLWBV0qkG80SXhvvqKQswAQsm2ApFCJ3bLCFjTKNoBiso2UkVyqsjLAD4crqxRgq-6_4frcoIVZljTyVgnc9P3NBvdfaN_yxIwV4Ai4XPsWZR83Q4I_545-Wp2jv6HmPbAqRqK5efvm0fw",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "PnRk1EcPPFMuhk9kXgsSvqj3sxeHuj",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"state": "d0IJrn11lT5cdSU1"
}
|
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%3A61707%2Fauthz_cb&code=PnRk1EcPPFMuhk9kXgsSvqj3sxeHuj&state=d0IJrn11lT5cdSU1&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTnROTW52ck1VNHVudW9neVR5cFciLCAic3ViIjogIk50Tk1udnJNVTR1bnVvZ3lUeXBXIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJENFpkNjg0NXQ4Z1BEREFrVU5BcEkzeDFHY3VxZXlncyIsICJleHAiOiAxNTYwNzg0ODkwLCAiaWF0IjogMTU2MDc4NDI5MH0.1M7KP7-0kgfQ3hICM6mPc-C_aMkLuiFOLn_JaAR_JbG-t5KSgQXzlB0pWXY02eydmzmusoggqziwA9RFZP3G5W_EtMqtoNcDsfDAM4zd1WYlt7BZMSabzm-Z3bepM9K2ftmAFmiC59wh6upt31VPo37npevb_xNAg5lqJAcmpVZpd0YB_uSCP7qJw4g6USC4Q5v3bfg5nLWBV0qkG80SXhvvqKQswAQsm2ApFCJ3bLCFjTKNoBiso2UkVyqsjLAD4crqxRgq-6_4frcoIVZljTyVgnc9P3NBvdfaN_yxIwV4Ai4XPsWZR83Q4I_545-Wp2jv6HmPbAqRqK5efvm0fw&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': 'kk0d9Gwvx0aDoRXB8qH7', 'refresh_token': 'o9UkK5gygiLLp3BjjOw2XIsHNhKf5n3BHqAzwKxp', 'scope': 'openid profile', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.O3eFctELxtLnZJqAG2T7gd2cgQYXU-GOcSUIdDlFaS9d2oC3SkN-hbHxEMxW4vm1Be4d129pHyfV0UA7J0OryLFbvUvoYKRaivmyAt3keve-6-QxaYOochofDpM1L2WSMAWVApldaGUmLPQlSTHaOfYKx9Ca20i7tFlsSMXe6DJyUh1R1cxi8_2xIbYDMtj4PAbuEABOhOVTJOuel2T52ytro0HeXGC1DDTS8fE5-E4xMQL1bPKE65g8R5K6ST28FTu0JzX7N8kQjBqnPK4iZJ949F-74-GV-zEy_GVr3J2AL-_YhYTsxpXzXhW5bWQP-WmcJBXnLxZqV_G4-V1BWg.tn443oVyUWbAot8Abx01XA.DC39CpqC1D9ZiUWQc8crvPGSJkoPcExPZSSlulJ7cDZxZCtCry8Fze0gM9GCGdG6cdBGiFqGJCle5e9tfG03VHgu2Ejm78pkfW8eJDKnijYvXQbaOsonMvJqiW9bpnpd4pGQ4GR8SH13b_qQXmARsxX-o9W31Qz4zUXSk9IIrd2WB__khHJP_uk9HePxNxur9lEKp59PIE5qkR9vUjIgNNStFfWNV-jkcsbr5HCE84NVCLueZwBiXn0cSAQHX3unLY1Ld9IHio-YvvlAnxRRn47Sp4am9iGOnx0n--mwD-7QoSmJKEkIqVx3oD0Mb1goPycT_qC8S5W-I5mbw3j7aeY-PamrYhN_arInzks8RFpv0r52zADWu-38J2S7G6B09lGjHdJZZ52UQ42ncNvYXoOuULkACRyLwuTql4rlpGIg97sKqG1fXjdaKjzjY9WzJWDY9sdpZdmMxZ1awD1VnzxmZaAPEnEbWvvkuNTegDJZOZ5-qtiSxHYTd83ZLQIUi-u0YRDH2DB_Fa5L7gfxHt91SUhUEIPLy2o2Rtn5hRGd5Fewkw6MBQgCj3hjBpsETLykXR50ze3lEqEA2TT6DLovI6QZyMRt6SykeQZRtOSwYb8-8OJXE6uI8Zm9z0B4QoMG4Z31H3atnDm2yHaggxEbH3GIPovgiWP6kRLaIt5gD3wmBjxNt5y-3kS7CmVznDb_sI3K9wuGRvIS2rp3dJFb8CZ7sVL6udRK9OgNdEaqt6HXWA-XMceE97k6j9fQfXWKrNX4_xBhShtKlrb7gLVO-Z5O4CmfLDQgUU0nTvUF5y2SaHV67XMM9lWxvsIHLOUC_gP85LLyO9YOOTSrT89Aj1cXQkHeJMF8r2P8pP0OJCM5jQF7wJRpf2Qe5RHH5BGTpbb4mouKXHIZdC2mI5nQbTkB83Xjp2rBHP_Hx2vuaIj5F6uFfeteXp-hfATJfjVv7axUtVI8N-SDmA_CdvQRdvl8XLI6KfQVcYZResLrt-DjkliLQ2DGwtYS-s-A.fNaRlRqFDEhl5_6B4z6u8g', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "kk0d9Gwvx0aDoRXB8qH7",
"expires_in": 3599,
"id_token": {
"at_hash": "9vW35UgD7E341LGv6bT4qQ",
"aud": [
"NtNMnvrMU4unuogyTypW"
],
"exp": 1560787711,
"iat": 1560784291,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "GGUrPkvT3K67MPsT",
"rt_hash": "eOQ6FAl4zY1BxMT0zKTdbQ",
"sub": "testuser"
},
"refresh_token": "o9UkK5gygiLLp3BjjOw2XIsHNhKf5n3BHqAzwKxp",
"scope": "openid profile",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | jwe header | {'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'd0IJrn11lT5cdSU1', '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 kk0d9Gwvx0aDoRXB8qH7'}} |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
4 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
4 | phase | <--<-- 6 --- Done -->--> |
4 | end | |
4 | assertion | VerifyScopes |
4 | condition | verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['given_name', 'family_name', 'middle_name', 'nickname', 'profile', 'picture', 'website', 'gender', 'birthdate', 'zoneinfo', 'locale', 'updated_at', 'preferred_username'] [Verifies that the claims corresponding to the requested scopes are returned] |
4 | assertion | CheckHTTPResponse |
4 | 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] |
4 | assertion | VerifyResponse |
4 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
4 | condition | Done: status=OK |