--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 ________________________________________________________________________________ [19/Apr/2023 10:46:11] Validation_user_idm pre : N/A ________________________________________________________________________________ [19/Apr/2023 10:46:11] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [19/Apr/2023 10:46:11] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [19/Apr/2023 10:46:11] 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: CQUK26TAdYm1Z8MPEzO0H9kD" -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": "-5LhRrTTTmGOLdKFKowNfB297SI.*AAJTSQACMDIAAlNLABxnWWkxS0o2b3UreDRtV2ovTjZWcWo0R2ZGOEU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=-5LhRrTTTmGOLdKFKowNfB297SI.*AAJTSQACMDIAAlNLABxnWWkxS0o2b3UreDRtV2ovTjZWcWo0R2ZGOEU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681901173.259.208200.142459|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "-5LhRrTTTmGOLdKFKowNfB297SI.*AAJTSQACMDIAAlNLABxnWWkxS0o2b3UreDRtV2ovTjZWcWo0R2ZGOEU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Wed, 19 Apr 2023 10:46:12 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=5eIIoPwBTU0a3Co8k1iBqZzSfpI&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': '1bdfc53e0909945bf1070971c6deecc0'} 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": "5eIIoPwBTU0a3Co8k1iBqZzSfpI"}' "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": "UJ8-kfWwc5o1XoC-vnWXqmBcQW4", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer UJ8-kfWwc5o1XoC-vnWXqmBcQW4" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230419100804", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230419100804@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": "086176a5-de33-4f92-abaf-40b712b44ec6", "_rev": "4aa621b7-305b-483b-8691-07fcf1ed08d1-473", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419100804@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419100804", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 10:46:14] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230419100804 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230419100804" -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": "cSZ8ISxWSe3LE7F1At1ioRZlhPQ.*AAJTSQACMDIAAlNLABx6MU1WdmFsYXVOc1Y0UDE0OFNqUGNUbzlBRzA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=cSZ8ISxWSe3LE7F1At1ioRZlhPQ.*AAJTSQACMDIAAlNLABx6MU1WdmFsYXVOc1Y0UDE0OFNqUGNUbzlBRzA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681901175.305.208205.645971|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "cSZ8ISxWSe3LE7F1At1ioRZlhPQ.*AAJTSQACMDIAAlNLABx6MU1WdmFsYXVOc1Y0UDE0OFNqUGNUbzlBRzA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Wed, 19 Apr 2023 10:46:14 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=lE_dPntO0lMwpPFqtuumA8e0BSM&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': 'a50efac678654ac8c8656b35736d082e'} 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": "lE_dPntO0lMwpPFqtuumA8e0BSM"}' "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": "fUWCfPrA6vc2bKsPhhDiMJefYuA", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer fUWCfPrA6vc2bKsPhhDiMJefYuA" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/086176a5-de33-4f92-abaf-40b712b44ec6" [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": "086176a5-de33-4f92-abaf-40b712b44ec6", "_rev": "4aa621b7-305b-483b-8691-07fcf1ed08d1-473", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419100804@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419100804", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 10:46:15] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiZ2ZnYWhhcWtidHBybTg1czhhNnJmcTZsdmIiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUG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dsb3lTVUpOVDA5ZlQyNTNOVUZOV2pBd2FVd3pOMWg2VmpSRFh6ZG1TbVphTmxka1J6Vk1kRUV4UzBvelUxb3pXVkE0VUV0c1dIRTVaMG8xVjBGNVpDMUZUbUpEVFRST1gyUnZiMVI1UmtneFpsaHdNV3c0UVZCWVFTMUZaRkY2Yldkc2MweENkVk5vYVdReFQxVmZORUp1ZGpaTWNHSm1iMnBVWTFObmVHNTFha2xsYjFKTVMxTTBNVXA0UW14SExVbHVXRTB3U1ZWdGJWOXRWVjg0VVZGQ1NWUkpWbHBKTG5FdE1XNXljVFZOYlVabGQwcFFWR1Z6VUZGNlpuYy5sdnhYZUZHSzhGWVhvT3AxTHd3ZWxMX1ViQkhEZjktTGhreHdxQk5TUWl3IiwiZXhwIjoxNjgxOTAxNDc2LCJpYXQiOjE2ODE5MDExNzZ9.wUwwHE0EKzCfp2R0WboRMc-PcWn6janvpIVe5oAIQTY", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiZ2ZnYWhhcWtidHBybTg1czhhNnJmcTZsdmIiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS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V2pBd2FVd3pOMWg2VmpSRFh6ZG1TbVphTmxka1J6Vk1kRUV4UzBvelUxb3pXVkE0VUV0c1dIRTVaMG8xVjBGNVpDMUZUbUpEVFRST1gyUnZiMVI1UmtneFpsaHdNV3c0UVZCWVFTMUZaRkY2Yldkc2MweENkVk5vYVdReFQxVmZORUp1ZGpaTWNHSm1iMnBVWTFObmVHNTFha2xsYjFKTVMxTTBNVXA0UW14SExVbHVXRTB3U1ZWdGJWOXRWVjg0VVZGQ1NWUkpWbHBKTG5FdE1XNXljVFZOYlVabGQwcFFWR1Z6VUZGNlpuYy5sdnhYZUZHSzhGWVhvT3AxTHd3ZWxMX1ViQkhEZjktTGhreHdxQk5TUWl3IiwiZXhwIjoxNjgxOTAxNDc2LCJpYXQiOjE2ODE5MDExNzZ9.wUwwHE0EKzCfp2R0WboRMc-PcWn6janvpIVe5oAIQTY", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230419100804"}], "_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": "qutHB25SXhiX8EcRsjBhAQi4fLE.*AAJTSQACMDIAAlNLABx6dGxON3ZubDhtclc5R2huMHgvL3hnMm1ubzg9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [19/Apr/2023 10:46:17] 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: CQUK26TAdYm1Z8MPEzO0H9kD" -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": "hQoKosa-prUn5GrMlQzv2q6BiG0.*AAJTSQACMDIAAlNLABxBRjhvamlQcWU0dTlIeE9wcW8zSjlBYmk0cW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=hQoKosa-prUn5GrMlQzv2q6BiG0.*AAJTSQACMDIAAlNLABxBRjhvamlQcWU0dTlIeE9wcW8zSjlBYmk0cW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681901178.867.208202.298109|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "hQoKosa-prUn5GrMlQzv2q6BiG0.*AAJTSQACMDIAAlNLABxBRjhvamlQcWU0dTlIeE9wcW8zSjlBYmk0cW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Wed, 19 Apr 2023 10:46:18 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=1Zpgk0qymk5etnx4wUu_YqyK9Fk&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': 'df46778be81ee7e0a6ddfa729d287bb9'} 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": "1Zpgk0qymk5etnx4wUu_YqyK9Fk"}' "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": "AttF5jgUU4BM2EJZo17i4Ht03XE", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer AttF5jgUU4BM2EJZo17i4Ht03XE" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/086176a5-de33-4f92-abaf-40b712b44ec6" [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": "086176a5-de33-4f92-abaf-40b712b44ec6", "_rev": "4aa621b7-305b-483b-8691-07fcf1ed08d1-473", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419100804@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419100804", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 10:46:18] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped