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": [
"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"
}
|
0 | phase | <--<-- 2 --- Registration -->--> |
0 | not expected to do | Dynamic registration |
0 | phase | <--<-- 3 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "clientID",
"nonce": "7ubV5OFRjo7GAvQB",
"redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
"response_type": "code token",
"scope": "openid profile",
"state": "1T9jxLZ9ahmzgE0y"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=1T9jxLZ9ahmzgE0y&nonce=7ubV5OFRjo7GAvQB&response_type=code+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=1T9jxLZ9ahmzgE0y&nonce=7ubV5OFRjo7GAvQB&response_type=code+token&scope=openid+profile&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID |
2 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=fdlgJr3o8NdgF7Cy1MYe&state=1T9jxLZ9ahmzgE0y&expires_in=3599&token_type=bearer&code=otNsEJpdphyqQIx9ncIchkZIzQPKkA&scope=openid%20profile |
2 | response | {'access_token': 'fdlgJr3o8NdgF7Cy1MYe', 'state': '1T9jxLZ9ahmzgE0y', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'otNsEJpdphyqQIx9ncIchkZIzQPKkA', 'scope': 'openid profile'} |
2 | AuthorizationResponse | {
"access_token": "fdlgJr3o8NdgF7Cy1MYe",
"code": "otNsEJpdphyqQIx9ncIchkZIzQPKkA",
"expires_in": 3599,
"scope": "openid profile",
"state": "1T9jxLZ9ahmzgE0y",
"token_type": "bearer"
}
|
2 | phase | <--<-- 4 --- AccessToken -->--> |
2 | request | op_args: {'state': '1T9jxLZ9ahmzgE0y'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb', 'code': 'otNsEJpdphyqQIx9ncIchkZIzQPKkA', 'state': '1T9jxLZ9ahmzgE0y', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': '1T9jxLZ9ahmzgE0y', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "otNsEJpdphyqQIx9ncIchkZIzQPKkA",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
"state": "1T9jxLZ9ahmzgE0y"
}
|
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%3A61771%2Fauthz_cb&code=otNsEJpdphyqQIx9ncIchkZIzQPKkA&state=1T9jxLZ9ahmzgE0y |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
3 | response | {'access_token': 'I2DsKEnSXgwafm6PpVzV', 'refresh_token': 'nIkUIIJ24dJgzWhul9UYHQbPfnwRg2cWhuGywLxW', 'scope': 'openid profile', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.3s_QuPnR4kFlDJ1qX29Itq3giRM47ddAwCjmB6eHSz4-foiKPwfjQQ.uWz6DXubv6adeHQsZ-rRMw.qt4uK5UDpVgG3lUjeXqNReTDmZddKk9AlsHgqYOz-GW46ii_eUe9t_v-u25Q8AFmZD26VUXgXE8droqNR7jRo4FDh9S7l4wbvKCXYd80RK97fuAM-99_k0-tvB-mXGrBsT1jw-jNHBKXBrVl27xz6iQg1u3Cq3LBtHok93lQCd9jg9UGEMw51ZaGAa-eaLQxhSEAMz0p9EJFsCw_brc0aTSRL5Dh6Vik9oSdq4yzYFURXlFdLZxEKZNRDCWXUwn5nv165GLDNXZX6KJJDg1ybZag_IJ6WMl6sNN4Nyn9We2CKzKIaNrc-EugTiCIckFiEkjk-LKwalT7OdkRvn1PIvZu6-ZaeN9uOjIH3Li4PhX8GyMRdFiKeGHCo8UZa22PZE8ZeHIR4R5li-HZTlPH_k-p57sfjSFf3No2_P9B3atFTIJ5Y3U6b46hwxks6s4CyZB1pF36H-sVP91Gy4cQyI4JsQjms780N6TWusDo-AzB9GktG-thMlMKwDdrnFPzNrqz2s_73fbsKa8M9y9VuE2fU1UKwKoZ3rfVGPd9NxpBLTWAsIifC_0-hLQuRdIZEuItjAlXfUu26DDwstL66GsRFogSKRLtVmakrzigKLNZxtJrA1MQhR1I-vNKh-I4unYK-EN2EJ7mvonob6O1Cqb2F5WP1MMrYTQS8T27d8u0B05TyeIyn8DzmKTixM5KPZUXMezsUzmSOBuydJnNQQcogMnydYqQO1ERi66D-8LKMWYS5V47HlfDKp-2XasIoSWoFDxOZtZY_ykX9xoNs7zldFoglNUGiiKY-oDJziecbJPkRxMWwugnsmpPUMWW62vaC0X0os3C66A6j9T1jUyWnArUNnwn7UPk5nHkIQbzfEUF9ohKsD5SIsVvlIKdpt68Hk0tlggc6k4PE82F51sFcwoAPVE6XLZTiNPKB_oWrBvZ0smrZKF6EfaiT2NOU91DFwATVe_3evq1ixXd0FMr4rttZsoFYTZsWCSBUog.JbqvSVKO9b8BXcUsQscN_A', 'token_type': 'bearer', 'expires_in': 3599} |
3 | AccessTokenResponse | {
"access_token": "I2DsKEnSXgwafm6PpVzV",
"expires_in": 3599,
"id_token": {
"at_hash": "pjoSd6Nesa_kzPhfE9sJTg",
"aud": [
"clientID"
],
"exp": 1560835159,
"iat": 1560831739,
"iss": "https://isamfed.com:30443/test",
"name": "isamfed testuser",
"nonce": "7ubV5OFRjo7GAvQB",
"rt_hash": "OPTvH3iTnx6R5TaP8uEtnw",
"sub": "testuser"
},
"refresh_token": "nIkUIIJ24dJgzWhul9UYHQbPfnwRg2cWhuGywLxW",
"scope": "openid profile",
"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': '1T9jxLZ9ahmzgE0y', '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 I2DsKEnSXgwafm6PpVzV'}} |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
|
3 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
3 | OpenIDSchema | {
"name": "isamfed testuser",
"sub": "testuser"
}
|
3 | phase | <--<-- 6 --- Done -->--> |
3 | end | |
3 | assertion | VerifyScopes |
3 | 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] |
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 | assertion | VerifyResponse |
3 | condition | verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses] |
3 | condition | Done: status=OK |