0 | phase | <--<-- 0 --- Note -->--> |
0 | phase | <--<-- 1 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 2 --- Discovery -->--> |
0 | 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_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"
}
|
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: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'}
|
1 | 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": "tYGuUrrxdEDtTF0IUTkY",
"client_id_issued_at": 1560784301,
"client_secret": "wRfj1zPK22suBqCJNwTk",
"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": "2Fbpm8Y8vK4WhpCH2ON5",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=tYGuUrrxdEDtTF0IUTkY",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
1 | phase | <--<-- 4 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"claims_locales": "test",
"client_id": "tYGuUrrxdEDtTF0IUTkY",
"nonce": "74W69YqqA0iYfhS0",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"response_type": "code token",
"scope": "openid",
"state": "8a1kZP1pxzboOxa1"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=8a1kZP1pxzboOxa1&nonce=74W69YqqA0iYfhS0&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&claims_locales=test&client_id=tYGuUrrxdEDtTF0IUTkY |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=8a1kZP1pxzboOxa1&nonce=74W69YqqA0iYfhS0&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&claims_locales=test&client_id=tYGuUrrxdEDtTF0IUTkY |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=BMbnwzd6jcWYOEKQvPSx&state=8a1kZP1pxzboOxa1&expires_in=3599&token_type=bearer&code=FOKHUcqOtXSutp8ac9PzQZQwH28Bwe&scope=openid |
2 | response | {'access_token': 'BMbnwzd6jcWYOEKQvPSx', 'state': '8a1kZP1pxzboOxa1', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'FOKHUcqOtXSutp8ac9PzQZQwH28Bwe', 'scope': 'openid'} |
2 | AuthorizationResponse | {
"access_token": "BMbnwzd6jcWYOEKQvPSx",
"code": "FOKHUcqOtXSutp8ac9PzQZQwH28Bwe",
"expires_in": 3599,
"scope": "openid",
"state": "8a1kZP1pxzboOxa1",
"token_type": "bearer"
}
|
2 | phase | <--<-- 5 --- AccessToken -->--> |
2 | request | op_args: {'state': '8a1kZP1pxzboOxa1'}, 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': 'FOKHUcqOtXSutp8ac9PzQZQwH28Bwe', 'state': '8a1kZP1pxzboOxa1', 'grant_type': 'authorization_code', 'client_id': 'tYGuUrrxdEDtTF0IUTkY'}, 'state': '8a1kZP1pxzboOxa1', 'authn_method': 'private_key_jwt'}
|
2 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAidFlHdVVycnhkRUR0VEYwSVVUa1kiLCAic3ViIjogInRZR3VVcnJ4ZEVEdFRGMElVVGtZIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJHRnFWQjRzN1NJV1hCczV0Sm1rR1cxUmlnS01zeDcxVyIsICJleHAiOiAxNTYwNzg0OTAyLCAiaWF0IjogMTU2MDc4NDMwMn0.bEVb9UBceHDwUIqX4fTNDJ_TF5mSvz-LtMBsS06NrVYW7DdKbGjCfQ8PoJn1Le5eKhmeKiRa9frcW2eG73NI6IT8bx5WCY5zlJJmrvlNhZevkq_GQMojJZak524w3rSJhEeBht2N5rNbArgpYXUI17VMFEFZFEc1rWMuV3FMj2qdelLIzfyt-nGlmM4N5vBiBHpxm_4csO4ntZ6ztITJS18EzqKwr-mmyH1j7i8q8JAB0_EczEIOX0zFZjg24jNnypxz2VlfYg1CbFZpNzSLiXc6XpiwKWRj3LLEUkt_rG5Yu8OxYhoEo4Tpg1ggL0oIQd_3I9R8DE3EOio-B6fqFg",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "FOKHUcqOtXSutp8ac9PzQZQwH28Bwe",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"state": "8a1kZP1pxzboOxa1"
}
|
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=FOKHUcqOtXSutp8ac9PzQZQwH28Bwe&state=8a1kZP1pxzboOxa1&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAidFlHdVVycnhkRUR0VEYwSVVUa1kiLCAic3ViIjogInRZR3VVcnJ4ZEVEdFRGMElVVGtZIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJHRnFWQjRzN1NJV1hCczV0Sm1rR1cxUmlnS01zeDcxVyIsICJleHAiOiAxNTYwNzg0OTAyLCAiaWF0IjogMTU2MDc4NDMwMn0.bEVb9UBceHDwUIqX4fTNDJ_TF5mSvz-LtMBsS06NrVYW7DdKbGjCfQ8PoJn1Le5eKhmeKiRa9frcW2eG73NI6IT8bx5WCY5zlJJmrvlNhZevkq_GQMojJZak524w3rSJhEeBht2N5rNbArgpYXUI17VMFEFZFEc1rWMuV3FMj2qdelLIzfyt-nGlmM4N5vBiBHpxm_4csO4ntZ6ztITJS18EzqKwr-mmyH1j7i8q8JAB0_EczEIOX0zFZjg24jNnypxz2VlfYg1CbFZpNzSLiXc6XpiwKWRj3LLEUkt_rG5Yu8OxYhoEo4Tpg1ggL0oIQd_3I9R8DE3EOio-B6fqFg&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': 'ArafGTewdFn9uv5PC2v1', 'refresh_token': 'rUXjfwo6t5tTc6kOo8OZFPG23irdiWdgRVHXpQUO', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.oERvBKQJS0JHjMsWPTT7TI2U2UYarSgtfJVLB_8y3WETUfhEHfVXXN2gQMip5kxuQ8XnEWhiRuWg59ROGcmVB26yKYy3cQ5wGfxb7EReCoYxbVxC8VkrxLAl04UGzn5PVp7l9ZHK0sKCXKG8k_LnDpvRQZkViNnXLRxflOjnxJdUsxQlPp2t5L-UXjtR-rwP19NqGxckjEHpP2gycGAQgHyInJDkgl7BVMWFwl45DtfCj1_alYzZnZQmAMy6HXhessD1iaTgrbGG7TcXrerZ4mI1ImsUwB0e4a4xTiw6CS4Wz29ADEtd7UjEj9oni566OubmBlQt9Oj9AG00sW78WQ.9AIivPFT04MWVfd8NqnQqw.Dt0CW-f1e6RC-xM2GLHNVXEwmRUNLA1bquxY2sreTvDUjjn1s8xYw8s5dQwCyjwLT8TuwqDA8sc3hBahS_WtnLhHuhnOSmGLJIGGL63UZf4Zb5d42HCorCivSbLOTq9i9JIw0H_zIcTUxjZPm_2tJxe0Izvf2ISOzqI49Aa0zhMEqfnXWw9E7H0WB3SoNpEwIkbVs9fDXzkuRn7kKH2BIRJ103CUOLbP2k25kAOFx5qXudM7Lkp8nfuIWDXsqpWEfWWzxUY2olz8x-mEus3H2saKKa2F9WxJJinhkrM4ELOHNN5NbK8klCt8clTXt4W2qzeOqzjx-26fgzdIrM5p5ElEoBTy8wt5KUkrH27YEnf_utP1XGSHOv70D5dd_HwJorUer__1fCaEVMMwG_Y29qnoSBH-2hiFkt0BUNA06ANFaCqxBIKQ4BJGsSdfajgjkEBkb1493YUg0T0je2D7Qg81ZjVjZTgMjOpWuN2eF5v7xWVfsHzYbmplXsmEoRTqr2g8zUTzfq288Pgezvxz3_UCGTQPn7dFo-MfSiaFse0ARnspFoz_luh4DOcuQGphbGQljb5NiKH4LXJR0-_E60uucqhcNj8L92umLb_1aZHht7zzHQbz4f8G1t60IHDTnrTR8kMTQ8tsnN9Qo__RApcOKmjwzTukjst5Jcxo7L-GfmhWxSMZPX-LRix-ohn63lZHAj141qFQuuxSQfES4M13DioP0I5goMPSHKDXb_R7gMruCivHlh_OEsl9WFeFD8hNlDccQKx_D5TkFlwJNCWnu94F4CsiESi4FQmf_1anPJU_IGcORcN7GUNZYNUCO4yeUQ7NlNSI3x1BeCJ82p1pmH_xrTUDViMeLoDxi6Y2oK2qANdjVIHrYl8JVtK5lIzVYAJcMxbX-gmjwjg3y2T8oW5imSMgAAdmVHqAZYhuJNmuF69Av7ATpqr_ySZor7aGKh05j_947T0BBKvr5Q.dXkvINa01A_H-eVqE6D7Fg', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "ArafGTewdFn9uv5PC2v1",
"expires_in": 3599,
"id_token": {
"at_hash": "zKtHNYyAIL0MeBuHrcH6yQ",
"aud": [
"tYGuUrrxdEDtTF0IUTkY"
],
"exp": 1560787722,
"iat": 1560784302,
"iss": "https://isamfed.com:30443/test",
"nonce": "74W69YqqA0iYfhS0",
"rt_hash": "EoWsk6BDAyxu4D70nnBvNg",
"sub": "testuser"
},
"refresh_token": "rUXjfwo6t5tTc6kOo8OZFPG23irdiWdgRVHXpQUO",
"scope": "openid",
"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 | <--<-- 6 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': '8a1kZP1pxzboOxa1', '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 ArafGTewdFn9uv5PC2v1'}} |
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 |