--Task-- name: Validation_user_idm enabled: True class_name: CheckUserTask source_name: idm source_namespace: >default< target_name: idm target_namespace: >default< start: 0 stop: None timeout: not yet initialized for this Task as timeout was not explicitly defined, see updates bellow loop: False interval: None dependencies: [] wait_for: [] options: {} group_name: None Current dir: /mnt/disks/data/xslou/lodestar-fork/pyrock ________________________________________________________________________________ [06/Apr/2023 22:38:42] Validation_user_idm pre : N/A ________________________________________________________________________________ [06/Apr/2023 22:38:42] - INFO: Timeout for this Task has changed to 30m (1800 seconds) [06/Apr/2023 22:38:42] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [06/Apr/2023 22:38:42] Validation_user_idm step1 : Make sure we can create a user ________________________________________________________________________________ Authenticate user amadmin via REST [http_cmd]: curl -H "X-OpenAM-Username: amadmin" -H "X-OpenAM-Password: us1E4ZrQNbzDTcipZGxMjJgX" -H "Content-Type: application/json" -H "Accept-API-Version: resource=2.0, protocol=1.0" -L -X POST "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/authenticate?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "tokenId": "0mVtI91a1DVaeu_4KncO_z_Q8vI.*AAJTSQACMDIAAlNLABxMZ09iWmVqV241WGdOblhDenh6Vk93ZmJUZUk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } Obtain Oauth2 authz code via REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -X POST --cookie "amlbcookie=01" --cookie "iPlanetDirectoryPro=0mVtI91a1DVaeu_4KncO_z_Q8vI.*AAJTSQACMDIAAlNLABxMZ09iWmVqV241WGdOblhDenh6Vk93ZmJUZUk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680820724.042.17572.801370|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "0mVtI91a1DVaeu_4KncO_z_Q8vI.*AAJTSQACMDIAAlNLABxMZ09iWmVqV241WGdOblhDenh6Vk93ZmJUZUk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/am/oauth2/authorize?client_id=smokeclient&scope=fr:idm:*&redirect_uri=https://fake.com&response_type=code&realm=/" [http_cmd]: http status code OK --- status code --- http status code is 302 (expected 302) --- http response --- {'Date': 'Thu, 06 Apr 2023 22:38:43 GMT', 'Content-Length': '0', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'X-Content-Type-Options': 'nosniff', 'Cache-Control': 'no-store', 'Location': 'https://fake.com?code=bo7IvLJtxZwNVkgvSNrOnWJNXI4&iss=https%3A%2F%2Fxlou.iam.xlou-cdm.engineeringpit.com%2Fam%2Foauth2&client_id=smokeclient', 'Pragma': 'no-cache', 'Set-Cookie': 'OAUTH_REQUEST_ATTRIBUTES=DELETED; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/; Secure; HttpOnly; SameSite=none', 'Strict-Transport-Security': 'max-age=15724800; includeSubDomains', 'X-ForgeRock-TransactionId': '28edc9147271e2b8fd1f6861cfef991d'} Oauth2 get access-token REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -L -X POST --data '{"grant_type": "authorization_code", "redirect_uri": "https://fake.com", "client_id": "smokeclient", "code": "bo7IvLJtxZwNVkgvSNrOnWJNXI4"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/am/oauth2/access_token?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "access_token": "wMY8PYTt5C1kKa0qvwtj5N4rL-4", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer wMY8PYTt5C1kKa0qvwtj5N4rL-4" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230406220830", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230406220830@forgerock.com"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user?_action=create" [http_cmd]: http status code OK --- status code --- http status code is 201 (expected [200, 201]) --- http response --- [print_head_tail]: Print head (10 lines) and tail (10 lines) of input string (32 lines): ----- output ----- { "_id": "3c5a8f86-7556-4aea-9156-c6e33119bfb9", "_rev": "e27e0719-e961-471a-b2b5-517e7c2fdf17-4000600", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230406220830@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230406220830", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [06/Apr/2023 22:38:43] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230406220830 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230406220830" -H "X-OpenAM-Password: T35tr0ck123" -H "Content-Type: application/json" -H "Accept-API-Version: resource=2.0, protocol=1.0" -L -X POST "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/authenticate?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "tokenId": "6xXsqrbinSl9NfPGh5MjbMVJ5jc.*AAJTSQACMDIAAlNLABxHSElVU1hKTklaLzNwUzQ5NS82Z3RQMTl2NW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } Obtain Oauth2 authz code via REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -X POST --cookie "amlbcookie=01" --cookie "iPlanetDirectoryPro=6xXsqrbinSl9NfPGh5MjbMVJ5jc.*AAJTSQACMDIAAlNLABxHSElVU1hKTklaLzNwUzQ5NS82Z3RQMTl2NW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680820724.994.17911.627135|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "6xXsqrbinSl9NfPGh5MjbMVJ5jc.*AAJTSQACMDIAAlNLABxHSElVU1hKTklaLzNwUzQ5NS82Z3RQMTl2NW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/am/oauth2/authorize?client_id=smokeclient&scope=fr:idm:*&redirect_uri=https://fake.com&response_type=code&realm=/" [http_cmd]: http status code OK --- status code --- http status code is 302 (expected 302) --- http response --- {'Date': 'Thu, 06 Apr 2023 22:38:44 GMT', 'Content-Length': '0', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'X-Content-Type-Options': 'nosniff', 'Cache-Control': 'no-store', 'Location': 'https://fake.com?code=ecEnoAPIQczCrkzDLuLPJFso6AI&iss=https%3A%2F%2Fxlou.iam.xlou-cdm.engineeringpit.com%2Fam%2Foauth2&client_id=smokeclient', 'Pragma': 'no-cache', 'Set-Cookie': 'OAUTH_REQUEST_ATTRIBUTES=DELETED; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/; Secure; HttpOnly; SameSite=none', 'Strict-Transport-Security': 'max-age=15724800; includeSubDomains', 'X-ForgeRock-TransactionId': 'f550538062cc931da11d5f891bcd8aa8'} Oauth2 get access-token REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -L -X POST --data '{"grant_type": "authorization_code", "redirect_uri": "https://fake.com", "client_id": "smokeclient", "code": "ecEnoAPIQczCrkzDLuLPJFso6AI"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/am/oauth2/access_token?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "access_token": "tmFTIBP92UL17GoXmqRiGn78hzs", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer tmFTIBP92UL17GoXmqRiGn78hzs" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/3c5a8f86-7556-4aea-9156-c6e33119bfb9" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- [print_head_tail]: Print head (10 lines) and tail (10 lines) of input string (32 lines): ----- output ----- { "_id": "3c5a8f86-7556-4aea-9156-c6e33119bfb9", "_rev": "e27e0719-e961-471a-b2b5-517e7c2fdf17-4000600", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230406220830@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230406220830", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [06/Apr/2023 22:38:44] Validation_user_idm step3 : Make sure user can authenticate himself ________________________________________________________________________________ Anonymous POST to Login service endpoint to obtain appropriate callbacks Call to Login Tree [http_cmd]: curl -H "Content-Type: application/json" -H "Accept-API-Version: protocol=2.0,resource=1.0" -L -X POST "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/realms/root/authenticate?authIndexType=service&authIndexValue=Login" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- [print_head_tail]: Print head (10 lines) and tail (10 lines) of input string (39 lines): ----- output ----- { "authId": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiY3RjMnFpNmkxdHAyOTZwM2lnbGNwNXJtMW4iLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWak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EpwTmxwWlVYcHFTbU5VYTFCVmRYbHRaM2htYlZWeE1sVlVOMkZsWDFWQ1IxZHZlRFpPTldGMmMyMW9lVTFDYms5RlUyWkpUM1I2YUhCcFluVTViVlZaWDJ0aGNHVjVOMHhZY0VKQlUxSk1lVE5QVWxWUmJHOXVjbUU1TnpoSlFVVXpUWFF4WTNGRVIyRkVZWG94ZUhaU1NWaE1lRTR4WjFCcVVtRjJjRXRuUmxsZlFYRnljV1JVVlVOc1QzcHJMVXBhVmtKMVYzUk1SbEJaVlV0NU5rY3pNVVpMVjAxT1RrZ3hOVzV2TGtwSlZsSk9TR3MzVjNOUkxXMW9aV1puYmt3M1NGRS5VbC10RWk5MnNqR1U4Zzl4WTllSGM3SGpGY0hsNjVXbTNudFNXeEZ6N0VVIiwiZXhwIjoxNjgwODIxMDI1LCJpYXQiOjE2ODA4MjA3MjV9.TJ_cV_TqB6vYU-FJi_BE-6s0sU9wy1vFbXTSlxMY8_8", "callbacks": [ { "type": "NameCallback", "output": [ { "name": "prompt", "value": "User Name" } [...] "name": "IDToken2", "value": "" } ], "_id": 1 } ], "header": "Sign In", "description": "New here? Create an account
Forgot username? Forgot password?" } Set value for first two callbacks for login Call to Login Tree with input values [http_cmd]: curl -H "Content-Type: application/json" -H "Accept-API-Version: protocol=2.0,resource=1.0" -L -X POST --data '{"authId": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiY3RjMnFpNmkxdHAyOTZwM2lnbGNwNXJtMW4iLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYV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mxwWlVYcHFTbU5VYTFCVmRYbHRaM2htYlZWeE1sVlVOMkZsWDFWQ1IxZHZlRFpPTldGMmMyMW9lVTFDYms5RlUyWkpUM1I2YUhCcFluVTViVlZaWDJ0aGNHVjVOMHhZY0VKQlUxSk1lVE5QVWxWUmJHOXVjbUU1TnpoSlFVVXpUWFF4WTNGRVIyRkVZWG94ZUhaU1NWaE1lRTR4WjFCcVVtRjJjRXRuUmxsZlFYRnljV1JVVlVOc1QzcHJMVXBhVmtKMVYzUk1SbEJaVlV0NU5rY3pNVVpMVjAxT1RrZ3hOVzV2TGtwSlZsSk9TR3MzVjNOUkxXMW9aV1puYmt3M1NGRS5VbC10RWk5MnNqR1U4Zzl4WTllSGM3SGpGY0hsNjVXbTNudFNXeEZ6N0VVIiwiZXhwIjoxNjgwODIxMDI1LCJpYXQiOjE2ODA4MjA3MjV9.TJ_cV_TqB6vYU-FJi_BE-6s0sU9wy1vFbXTSlxMY8_8", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230406220830"}], "_id": 0}, {"type": "PasswordCallback", "output": [{"name": "prompt", "value": "Password"}], "input": [{"name": "IDToken2", "value": "T35tr0ck123"}], "_id": 1}], "header": "Sign In", "description": "New here? Create an account
Forgot username? Forgot password?"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/realms/root/authenticate?authIndexType=service&authIndexValue=Login" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "tokenId": "Izx3rQXcbXhf4m53TErVCdiADUI.*AAJTSQACMDIAAlNLABxpc3VmV2dyTVBURjA3QWhvVlNYL2lrMFRXNHc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [06/Apr/2023 22:38:46] Validation_user_idm step4 : Make sure we can delete the user ________________________________________________________________________________ Authenticate user amadmin via REST [http_cmd]: curl -H "X-OpenAM-Username: amadmin" -H "X-OpenAM-Password: us1E4ZrQNbzDTcipZGxMjJgX" -H "Content-Type: application/json" -H "Accept-API-Version: resource=2.0, protocol=1.0" -L -X POST "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/authenticate?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "tokenId": "TLHUUI6nUVCFKhOZ5LB87TpkSOs.*AAJTSQACMDIAAlNLABxpM0VaMHlVN2lUOUltM0N0cU5RQkNONVlSY1k9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } Obtain Oauth2 authz code via REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -X POST --cookie "amlbcookie=01" --cookie "iPlanetDirectoryPro=TLHUUI6nUVCFKhOZ5LB87TpkSOs.*AAJTSQACMDIAAlNLABxpM0VaMHlVN2lUOUltM0N0cU5RQkNONVlSY1k9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680820727.316.17572.797478|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "TLHUUI6nUVCFKhOZ5LB87TpkSOs.*AAJTSQACMDIAAlNLABxpM0VaMHlVN2lUOUltM0N0cU5RQkNONVlSY1k9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/am/oauth2/authorize?client_id=smokeclient&scope=fr:idm:*&redirect_uri=https://fake.com&response_type=code&realm=/" [http_cmd]: http status code OK --- status code --- http status code is 302 (expected 302) --- http response --- {'Date': 'Thu, 06 Apr 2023 22:38:46 GMT', 'Content-Length': '0', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'X-Content-Type-Options': 'nosniff', 'Cache-Control': 'no-store', 'Location': 'https://fake.com?code=Wg7LI0d3noGrMf5B-9rk9YBIVZM&iss=https%3A%2F%2Fxlou.iam.xlou-cdm.engineeringpit.com%2Fam%2Foauth2&client_id=smokeclient', 'Pragma': 'no-cache', 'Set-Cookie': 'OAUTH_REQUEST_ATTRIBUTES=DELETED; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/; Secure; HttpOnly; SameSite=none', 'Strict-Transport-Security': 'max-age=15724800; includeSubDomains', 'X-ForgeRock-TransactionId': 'cfbe0f1e08723f9ed58ec8749888af54'} Oauth2 get access-token REST [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -L -X POST --data '{"grant_type": "authorization_code", "redirect_uri": "https://fake.com", "client_id": "smokeclient", "code": "Wg7LI0d3noGrMf5B-9rk9YBIVZM"}' "https://xlou.iam.xlou-cdm.engineeringpit.com/am/oauth2/access_token?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "access_token": "jBF0NVayeKyQiDuxbcEXz5KEDsM", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer jBF0NVayeKyQiDuxbcEXz5KEDsM" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/3c5a8f86-7556-4aea-9156-c6e33119bfb9" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- [print_head_tail]: Print head (10 lines) and tail (10 lines) of input string (32 lines): ----- output ----- { "_id": "3c5a8f86-7556-4aea-9156-c6e33119bfb9", "_rev": "e27e0719-e961-471a-b2b5-517e7c2fdf17-4000600", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230406220830@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230406220830", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [06/Apr/2023 22:38:47] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped