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 --- Note -->--> |
0 | phase | <--<-- 4 --- AsyncAuthn -->--> |
0 | AuthorizationRequest | {
"client_id": "clientID",
"nonce": "TmaM0u416KF4w57X",
"redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
"response_type": "code id_token token",
"scope": "openid",
"state": "PT20Sl3LEnbYVOXj"
}
|
0 | redirect url | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=PT20Sl3LEnbYVOXj&nonce=TmaM0u416KF4w57X&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&client_id=clientID |
0 | redirect | https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=PT20Sl3LEnbYVOXj&nonce=TmaM0u416KF4w57X&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&client_id=clientID |
1 | http args | {} |
2 | response | URL with fragment |
2 | response | access_token=NZaJz9ni80r6Yydk4Zu9&state=PT20Sl3LEnbYVOXj&expires_in=3599&token_type=bearer&code=9xpJYjYzbqngrP4KrHkmllgq17hI8u&scope=openid&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.iblKSHg9FLytHJQ4wk128EHdQBMj0jACCRFatT6uCZS7YogdZx9bZw.rmgNHCO4C2w2LVnDz0pAvg.mBhoetou_t-4ajfZuWE3LC42RhuaCLjYTrqRQyT4FKPoTgQfQAB5CdwZxTE5wlH4qHaUSpnjqT3TOjevUFkuNjYWUQUHbcyCaRxf71wEiKQKUdsJ_P1w3QlI9W9lqlZQYMhjEg3j0lv3A5U7826aHvHyv5lv2bFlqaooW5WQNTaDn2LpNHLxmEfitInC7w8IlNr1G357aZ6VD7GsNhXUnVTpe8cikPebtVofEf2dh2Nx8Nnlfiq1HuxMqfg6mR9ZQTl0IxcXe-LS1hWhrhbkw0F7y2T8G0UjIp8qkWwsAoib0NUxRDNCJqtCD-unMsycGQ7q-YkXMa_l3XWQc2ifdyicUGv032OAEeH_VSFdDgz-rCF_ffzR0x1Fv7MsNBoze-HLhZyEjEpEKSN6b_xkIk9A8RdW8y9lqUIVHWUctHtQos6VY4e_alSknXnrZXIntOHDKdRogCPovaNBhnlfqbui83NsjNVR9Eg8jIB-Er2wq02svBZlfDDBih5rY4w_pTR73T9tu4SAQDDcvQwQu9QSsb8elN4XNl0bMr2ODfCR1UhaDhFQVflXX1ySx39Kwl1W_DDDI3Z5kSVD8D_fdIsSPpOoGvbMlQ2aQN3Lf7-qXCNWTbvlzb0tmu4XAOAfy1b8cujcbSa5z8jQhqZlAAQCmt6jQza2__JuVDfEzExgSxIae36ZLSF4kgbHlUUnubvMmQ9DHNKG3bm842aa7pWB3LgMDK0P9barGNXwxRhSIfUcf5TxuwBFb8WLget7YWpPMuMfrB-6e7FyzNt4iPynyuyAa0iFp4O_1SrWfyAui8Txpo7XHFfOSNJOofUm0NdnfrYfvgXCkSjUC7oSSfT3cDIJvg3GEAPvHYQLU2QQdpeZ14KagqLBrUhPiypIQ8nqJJafMKs2Wp1Yoa6fg830kRAds3qOm2jXJ5qUn2lYKtRhpxfOBsgqlHqqgs-L.TBvfAFO8fAcgni_PcL9yLg |
2 | response | {'access_token': 'NZaJz9ni80r6Yydk4Zu9', 'state': 'PT20Sl3LEnbYVOXj', 'expires_in': 3599, 'token_type': 'bearer', 'code': '9xpJYjYzbqngrP4KrHkmllgq17hI8u', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwi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yLg'} |
2 | AuthorizationResponse | {
"access_token": "NZaJz9ni80r6Yydk4Zu9",
"code": "9xpJYjYzbqngrP4KrHkmllgq17hI8u",
"expires_in": 3599,
"id_token": {
"at_hash": "QbS_rcZNaB1JxzXbeKG7oA",
"aud": [
"clientID"
],
"c_hash": "jyG7TxR-1utrcDKQuczY1w",
"exp": 1560834806,
"iat": 1560831386,
"iss": "https://isamfed.com:30443/test",
"nonce": "TmaM0u416KF4w57X",
"sub": "testuser"
},
"scope": "openid",
"state": "PT20Sl3LEnbYVOXj",
"token_type": "bearer"
}
|
2 | phase | <--<-- 5 --- AccessToken -->--> |
2 | request | op_args: {'state': 'PT20Sl3LEnbYVOXj'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb', 'code': '9xpJYjYzbqngrP4KrHkmllgq17hI8u', 'state': 'PT20Sl3LEnbYVOXj', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'PT20Sl3LEnbYVOXj', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "9xpJYjYzbqngrP4KrHkmllgq17hI8u",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
"state": "PT20Sl3LEnbYVOXj"
}
|
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%3A61773%2Fauthz_cb&code=9xpJYjYzbqngrP4KrHkmllgq17hI8u&state=PT20Sl3LEnbYVOXj |
2 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
|
2 | response | {'access_token': 't4kVuTJokzC65ubqGQaz', 'refresh_token': 'F9Siz8dmHgM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hsT8a5EN3V5OwYhYrl5V6v4lME7xy1HEltl7ueauqp7N1wf6X-BgpYTCNe-ofpvLu04s2FWs-ALliOoOg8gBBgV9a8evOsBDP.g4eNdy8D85UJb-MyUZpUAg', 'token_type': 'bearer', 'expires_in': 3599} |
2 | AccessTokenResponse | {
"access_token": "t4kVuTJokzC65ubqGQaz",
"expires_in": 3599,
"id_token": {
"at_hash": "tnzrz7R81qJwDcqATtntsA",
"aud": [
"clientID"
],
"exp": 1560834807,
"iat": 1560831387,
"iss": "https://isamfed.com:30443/test",
"nonce": "TmaM0u416KF4w57X",
"rt_hash": "dwA79ncyqw2NJha7EqWeaA",
"sub": "testuser"
},
"refresh_token": "F9Siz8dmHgMT94K9aHvr7Fdp2sMxKYB1g9zhFhaV",
"scope": "openid",
"token_type": "bearer"
}
|
2 | jws header | {'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'} |
2 | jwe header | {'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'} |
2 | phase | <--<-- 6 --- AccessToken -->--> |
2 | request | op_args: {'state': 'PT20Sl3LEnbYVOXj'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb'} |
2 | do_access_token_request | kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb', 'code': '9xpJYjYzbqngrP4KrHkmllgq17hI8u', 'state': 'PT20Sl3LEnbYVOXj', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'PT20Sl3LEnbYVOXj', 'authn_method': 'client_secret_basic'}
|
2 | AccessTokenRequest | {
"code": "9xpJYjYzbqngrP4KrHkmllgq17hI8u",
"grant_type": "authorization_code",
"redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
"state": "PT20Sl3LEnbYVOXj"
}
|
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%3A61773%2Fauthz_cb&code=9xpJYjYzbqngrP4KrHkmllgq17hI8u&state=PT20Sl3LEnbYVOXj |
3 | http response | url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:400 message:{"error_description":"FBTOAU211E The [authorization_grant] received of type [authorization_code] does not exist.","error":"invalid_grant"}
|
3 | response | {'error_description': 'FBTOAU211E The [authorization_grant] received of type [authorization_code] does not exist.', 'error': 'invalid_grant'} |
3 | event | Got expected error |
3 | TokenErrorResponse | {
"error": "invalid_grant",
"error_description": "FBTOAU211E The [authorization_grant] received of type [authorization_code] does not exist."
}
|
3 | phase | <--<-- 7 --- Done -->--> |
3 | end | |
3 | assertion | CheckHTTPErrorResponse |
3 | condition | check-http-error-response: status=OK [Checks that an error code is either 400 or 401 which are the only ones accepted by OAuth2/OIDC.] |
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 |