0 | phase | <--<-- 0 --- Webfinger -->--> |
0 | not expected to do | WebFinger |
0 | phase | <--<-- 1 --- 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": [
"A128KW"
],
"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 | <--<-- 2 --- Registration -->--> |
1 | not expected to do | Dynamic registration |
1 | phase | <--<-- 3 --- AsyncAuthn -->--> |
1 | AuthorizationRequest | {
"client_id": "clientID",
"nonce": "sIdHBQwADSc7XMSH",
"redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
"response_type": "code id_token",
"scope": "openid address",
"state": "rp4QXgK5J4fbE8NM"
}
|
1 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=rp4QXgK5J4fbE8NM&nonce=sIdHBQwADSc7XMSH&response_type=code+id_token&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID |
1 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=rp4QXgK5J4fbE8NM&nonce=sIdHBQwADSc7XMSH&response_type=code+id_token&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | state=rp4QXgK5J4fbE8NM&code=tqQmkBeKedErmASjQNl6d6PJQWjR40&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.ICVZxv-7BfgxtV-DFmdUJ8zO0TLQ4TZutWIm8dyXG1D2RJp7CH7XMw.M3c3go-GAGtGVt39xKPIoA.b3fRPqz9ZfPTFR0TObYkUIvYNkiEz788_CZHwBGkG-j5MlRU-0yB4NTJ48P9rOp0NaQ2TBx4UtPoodNaorUDBWkW1mC3yyXxQSSq3qa84cdF4XIU6oXYu1dPT93sJLvzyQ7tZkQ0ocTJg605oiab2gT3Jfix5yDmwFbnT6D0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F4XIU6oXYu1dPT93sJLvzyQ7tZkQ0ocTJg605oiab2gT3Jfix5yDmwFbnT6D0c829XUzhY7slL3WajlSktwYIbPufvT7yJyTIjOR5882hNIhy51wpzuXx3428ypObvbrKFtME2S1DYTuVLUAm5juHc2T3esW-Zta-NmN30dVx_okTZA_78DW45j9l-FZ7yMAjthRhny4X3JRxO--XWKFw-puSWZxDwPFnHGebYH4hxfQp9Ey8x6rIwvlq9eK4zVOO9QZ1A42XJDcLTgPS3f8LsaZvQNnmRosOd7sZE27KmXGcgl9tQJptHORVDN7HUQdKH9t3PcWxslxUoJAv00nYWiCVCm_JvOu1WQAl3gSD9b4Uw5tElHnx66bOCnOuRFKvHnL0dayRPddiwhWz5UlkUqPKwaywE16jLYyVQXcw1BJQXPe_j2Inw-7d8xWEUVB-Av2FVffywQL70UvfKQwiyxSXe4zdnB4IoLouH3-98H_BfEsM8mVvusZ-FWxKKJxXmnn_cSyeEy8ozM_gZX4ky1ZsZ7mslywFdB-jQRVTRtHcD9kTPIQVGDthLeP-Ibaj3OWgU6WzALCFKiK0zsYM_ANtXmVOAUra5-vd7fKrvOvVsYUnLnK6e21PV5oPxCTIVi1VhBsqgiI_t0g5aXzHUKVqIOhqEEDQlQipMO0fyuj1dwKP4zr_wE1y8SpS4xEsudoRELFSGbc3SBx1zZDXyBZg_Qkwq1Iw7m08o9TF76ZRwJ2ekx-BK_Pi87wV8nDSF63vMyei4NmXfhuw2UGL.IiGBoPXAwJzu0y2iRROFcg'} |
2 | AuthorizationResponse | {
"code": "tqQmkBeKedErmASjQNl6d6PJQWjR40",
"id_token": {
"aud": [
"clientID"
],
"c_hash": "jcuevV_9lzIwyxpWzS0E2A",
"exp": 1560834952,
"iat": 1560831532,
"iss": "https://isamfed.com:30443/test",
"nonce": "sIdHBQwADSc7XMSH",
"sub": "testuser"
},
"state": "rp4QXgK5J4fbE8NM"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': 'rp4QXgK5J4fbE8NM'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb', 'code': 'tqQmkBeKedErmASjQNl6d6PJQWjR40', 'state': 'rp4QXgK5J4fbE8NM', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'rp4QXgK5J4fbE8NM', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "tqQmkBeKedErmASjQNl6d6PJQWjR40",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
"state": "rp4QXgK5J4fbE8NM"
}
|
2 | request_url | https://isamfed.com:30443/mga/sps/oauth/oauth20/token |
2 | request_http_args | {'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}} |
2 | request | grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&code=tqQmkBeKedErmASjQNl6d6PJQWjR40&state=rp4QXgK5J4fbE8NM |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'wnD7rW2GCjdKgK0TOaI5', 'refresh_token': 'hCzFQJiE6GTkkdp26xydmdgqOU6XvsGJ0efdC5on', 'scope': 'address openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.7mbtPmMq2PD0gXTe23E1jCFhBw6L_LCG4NX4YegNQ8GJNTG27-V7Pg.kz-tuz6gMKfAhaQCptygzQ.u_ivdkFzIzPKiDAbN_rH1vbAj-VdLSDgzoR1RwNlI9qw2XqdadKEGKwAa2jNTy7msf-RiQW3WwGoLrtLb5A0NOFeFwhh44x2laUFTULtkEH4ReTaZLhUXEz7ybALgqa-PjXPQVKije-QUXqDYYyj1HgM9V8ViM8Gw_WlxrSor8S29fsgVNghbdnQblCqzsPJ5hObAjEBiW3-4IzRyc5OMIIlsnyYc6KCDUhh2dR3uUy2hsaZXqAVErScqfMA39H7wNj5n-VRm6gFBPAWLhcWV6XeKCE4HTNoe0LgRmWEXFnUdh1TaUucWc3C4gcbP6jlBn2T_bxzD-B8HPp8Q9KR9y6XzflcewBz6R-giWEuXAFFcsS8tcYN3OkW8hlpBZbOTk7QpOiP1hOXM7oQLH_yv8bho9wVNu08DoFWOoli2fm0q2Teqv_iqV1A4tZ7ayBchzoXTOZPB3alML4Q3pxn6rqb03ZFiAUpiogizEv1CmWBp3RIRHlRtz3d3QUoH7c-jueO_nS3k1VSlW0iMuigV9KczwvdrKXylbc9Trelm18FsvGkKfZ8HFcNxcqnLz5dLm3n6nFD3bcoLNK9_2FsksMbgKo7nSEGvuFPhm1HXwAerc9n4eIKEXzMH_7Bqo19T3CBe6MiMWUzAZ0dW83tBAKATv3FDMZFBaPZV2A0eiCpnmIqlQUni4vY2eHBbBvlxfnwrrHzknu-IKDFBKPkGIoZYgj2h3pBYZ0YOqqpjHRHLt88wfQiIA_HopDbaH1ZvdmuBeVXISiU0dExk1M81jkYiMUH_wZw5JtwQHHD82uHn3u0-gX_gCJrKsCLmKjUJvdLPwMbCWg08P3VUB1_pNqKT2xEkyzOvUvuflCI6Ltenn-rVf1AKCmkSdYHYI9ryerpAqmjMSYdPxtRIPch9bL-NZP58n-lt5L6jGK_f47T2Y04Dx4kOvhrKPENqOdN._1lx_rhppQVHKkPa0hTV4Q', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "wnD7rW2GCjdKgK0TOaI5",
"expires_in": 3599,
"id_token": {
"at_hash": "lAKdUlUUZs4lAIyOeuY9iA",
"aud": [
"clientID"
],
"exp": 1560834954,
"iat": 1560831534,
"iss": "https://isamfed.com:30443/test",
"nonce": "sIdHBQwADSc7XMSH",
"rt_hash": "2rd-p6uyc-_4L7AFchPbBg",
"sub": "testuser"
},
"refresh_token": "hCzFQJiE6GTkkdp26xydmdgqOU6XvsGJ0efdC5on",
"scope": "address openid",
"token_type": "bearer"
}
|
3 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
3 | jwe header | {'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'} |
3 | phase | <--<-- 5 --- UserInfo -->--> |
3 | do_user_info_request | kwargs:{'state': 'rp4QXgK5J4fbE8NM', '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 wnD7rW2GCjdKgK0TOaI5'}} |
4 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
4 | OpenIDSchema | {
"sub": "testuser"
}
|
4 | OpenIDSchema | {
"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: ['address'] [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 |