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"
}
|
0 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
|
0 | RegistrationResponse | {
"application_type": "web",
"client_id": "RAteNofYkaICeascLUlZ",
"client_id_issued_at": 1560784275,
"client_secret": "0ATBN23IybBw9c1VLt96",
"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": "e7No9NXGIXJjdF2X5PSc",
"registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=RAteNofYkaICeascLUlZ",
"response_types": [
"code",
"token"
],
"token_endpoint_auth_method": "private_key_jwt"
}
|
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "RAteNofYkaICeascLUlZ",
"nonce": "FXfnamx3vilXTNgQ",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"response_type": "code token",
"scope": "openid address",
"state": "BT8w4lU0FY25Kzg4"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=BT8w4lU0FY25Kzg4&nonce=FXfnamx3vilXTNgQ&response_type=code+token&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=RAteNofYkaICeascLUlZ |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=BT8w4lU0FY25Kzg4&nonce=FXfnamx3vilXTNgQ&response_type=code+token&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=RAteNofYkaICeascLUlZ |
1 | http args | {} |
1 | response | URL with fragment |
1 | response | access_token=Ge5xVTXiVhHGVuedqGjE&state=BT8w4lU0FY25Kzg4&expires_in=3599&token_type=bearer&code=sAWqyseWWd9Vfrx05fATB8FJbOvRGk&scope=address%20openid |
1 | response | {'access_token': 'Ge5xVTXiVhHGVuedqGjE', 'state': 'BT8w4lU0FY25Kzg4', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'sAWqyseWWd9Vfrx05fATB8FJbOvRGk', 'scope': 'address openid'} |
1 | AuthorizationResponse | {
"access_token": "Ge5xVTXiVhHGVuedqGjE",
"code": "sAWqyseWWd9Vfrx05fATB8FJbOvRGk",
"expires_in": 3599,
"scope": "address openid",
"state": "BT8w4lU0FY25Kzg4",
"token_type": "bearer"
}
|
1 | phase | <--<-- 4 --- AccessToken -->--> |
1 | request | op_args: {'state': 'BT8w4lU0FY25Kzg4'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'} |
1 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'sAWqyseWWd9Vfrx05fATB8FJbOvRGk', 'state': 'BT8w4lU0FY25Kzg4', 'grant_type': 'authorization_code', 'client_id': 'RAteNofYkaICeascLUlZ'}, 'state': 'BT8w4lU0FY25Kzg4', 'authn_method': 'private_key_jwt'}
|
1 | AccessTokenRequest | {
"client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiUkF0ZU5vZllrYUlDZWFzY0xVbFoiLCAic3ViIjogIlJBdGVOb2ZZa2FJQ2Vhc2NMVWxaIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJrUUlxbGM4b21GZUJmampObFFidnkwWHFMNU56MkVrVSIsICJleHAiOiAxNTYwNzg0ODc2LCAiaWF0IjogMTU2MDc4NDI3Nn0.dVCGEaVKfMaCwiFo3J1TXWbG6-v_MMhua0OStLQhiDMQm71LOksqmYFMF3xd_eV7z6xXv5dWVffxL7KtuXtqY5cstDdikPnfJmKgYRMbAIs4dzHT_kBKYrXxpBGDAhzXKlRkZW2xGSRYChg2nxfggIDrNG-BapHiwcD2GuMPdIkfK96Mk1S4vDzOAUnu-O9yn591cy2-uA_S6xfFV-9GinbYMNsLE71i7JdgZT5XrMFwWpeHBoAY6ec_XVDzUSpCH0SQGkVnsfZOUHQ49t8b3inkX_u1EwMjWP_ZKWB_MiRYVenMsaQhS3K2TP-eNlrzwPAx_iQG1bKdfXVxA1at5w",
"client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
"code": "sAWqyseWWd9Vfrx05fATB8FJbOvRGk",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
"state": "BT8w4lU0FY25Kzg4"
}
|
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%3A61707%2Fauthz_cb&code=sAWqyseWWd9Vfrx05fATB8FJbOvRGk&state=BT8w4lU0FY25Kzg4&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiUkF0ZU5vZllrYUlDZWFzY0xVbFoiLCAic3ViIjogIlJBdGVOb2ZZa2FJQ2Vhc2NMVWxaIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJrUUlxbGM4b21GZUJmampObFFidnkwWHFMNU56MkVrVSIsICJleHAiOiAxNTYwNzg0ODc2LCAiaWF0IjogMTU2MDc4NDI3Nn0.dVCGEaVKfMaCwiFo3J1TXWbG6-v_MMhua0OStLQhiDMQm71LOksqmYFMF3xd_eV7z6xXv5dWVffxL7KtuXtqY5cstDdikPnfJmKgYRMbAIs4dzHT_kBKYrXxpBGDAhzXKlRkZW2xGSRYChg2nxfggIDrNG-BapHiwcD2GuMPdIkfK96Mk1S4vDzOAUnu-O9yn591cy2-uA_S6xfFV-9GinbYMNsLE71i7JdgZT5XrMFwWpeHBoAY6ec_XVDzUSpCH0SQGkVnsfZOUHQ49t8b3inkX_u1EwMjWP_ZKWB_MiRYVenMsaQhS3K2TP-eNlrzwPAx_iQG1bKdfXVxA1at5w&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': '1zXIQkssZ5flYyNJVXpG', 'refresh_token': 'kt3LJFfpDADWklWekOPUI6EPkMLdN2xXuylkPkHC', 'scope': 'address openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.GzTw1brgYQ5XA3iUGc0E0CL8XIK1F4iwdsZZQc3oWadTlC1wd5oe7LerWyqrZKlzb3Yr9pTAYJHdCSpNYzbc1PtiGBuCrBoin70gN0bagcr3908go4U5LkLz5GMesGp9wgMbouC_1iBIWEjBwEQ2PMnU3_m0M84SAJCXWQFQf1nb2InCrvRD4S0pn9JFAhUEVlo_KDnAkJU5SuXY5LQ2cWgHrQ5aX8sGTlYkIuwu82zkyFbaP-EM0a1vUEMgKOZARs88vGvJErO14ByJY8VSIoXGeGxp6uLTvSKTGL0zf1X4BAWa_k4EkUNytGzmWISZfMDImYdWHWpUZXwOCzswTw.qEEvh8s6aJz3hzjThGarLg.dZocwSCT2U9OTBJLzRzbRnp9prpVYEeOdMxmdchYO9CitY9ycTuNWy2IGDaYL5F0gZ62qxSeU4pH4pPwzOo_wc_W1uTS8tu1NtzxTuLwI5f0fbx2kaDBkuH_6_u6wKn_-dgV1r51jtxtTodSKmvFoFb25qC0_VUOIudqwa-pS-g1jPdxNJ_LnSgwihNOOHHUqiAFrKigx0faRch1vVD_5mtdtS0koC1GZdmjZtYHM2Yn_HqyYlJzxnQ4u34XaYQQqQoH_1MsO0Mgrk_xnfMKL8OVddmd32ZyYtqnCo8NqXAjiIbihf4tWT3eUFkW_U0FBFqyyWvAR6gPDjFqElfc4D7h2f80b-THpWDqZs0G-xia32vGChN00OuJVgyPmDPACj3zyH_UFX9fDXD5-lg8aDIpBJgSIWYIJlpXqhKbcvWPcIRIu6Ae6XLjKR0fpz4TwqCx49sTqCHKYnws-khknmzq2V17JcbBs1izAVA-ayBjLUMxtPvhOQJ_phZSAA6859SidlMlW3dioWDcCPtDbDZHTW37nAhe-XO95YrzD6DkM5aV4dHc4zNYvRgB277fMvUMFS1Tp_1we6Tb5KcC_marwiOnabgIDvpOLFRB_MKlmfkFDazrcqR8NneQ4UQW9--UOU7EgnC5YANe-4EVOuKSsqmjSavtq1NqSOscWVQEs3Tfb3n75_HJtLms-3byowiV5MbDDWQAlo6wtLHYPdlgiph8PpgKXS_Xrs4gQiB4HGEX3ao4dxF2q8-e0Fj_lIM9_fRHgR5v4vFmFX7g-6boo_xsA2SEULYCY4eZGXVcmJ3FjKYDqK2iA9sr7yjxWS7J0o8YXKHkrnlO5_AnUklerQr1VSDlTsIc8M87IvpjmCzsXV98RBrXVtCPq91DribmwEbDGuUFtpBBSnfxerejdNuh6zxXSOQ7PgadND_RjOo8T4AyKee9TGJGvMdew2ANW70nAYouMF2E6tXcrQ.xH15YZ4pN4WR-MS_WFPaxg', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "1zXIQkssZ5flYyNJVXpG",
"expires_in": 3599,
"id_token": {
"at_hash": "bRIzPPvKykHCQWeg6icFLQ",
"aud": [
"RAteNofYkaICeascLUlZ"
],
"exp": 1560787697,
"iat": 1560784277,
"iss": "https://isamfed.com:30443/test",
"nonce": "FXfnamx3vilXTNgQ",
"rt_hash": "-fXmMFRi3UixCfbFBmDVmg",
"sub": "testuser"
},
"refresh_token": "kt3LJFfpDADWklWekOPUI6EPkMLdN2xXuylkPkHC",
"scope": "address openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | jwe header | {'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'} |
2 | phase | <--<-- 5 --- UserInfo -->--> |
2 | do_user_info_request | kwargs:{'state': 'BT8w4lU0FY25Kzg4', 'method': 'GET', 'authn_method': 'bearer_header'}
|
2 | request | {'body': None} |
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo |
2 | request_http_args | {'headers': {'Authorization': 'Bearer 1zXIQkssZ5flYyNJVXpG'}} |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
2 | OpenIDSchema | {
"sub": "testuser"
}
|
2 | OpenIDSchema | {
"sub": "testuser"
}
|
2 | phase | <--<-- 6 --- Done -->--> |
2 | end | |
2 | assertion | VerifyScopes |
2 | condition | verify-scopes: status=WARNING, message=The following claims were missing from the returned information: ['address'] [Verifies that the claims corresponding to the requested scopes are returned] |
2 | assertion | CheckHTTPResponse |
2 | 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] |
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 | condition | Done: status=OK |