--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 ________________________________________________________________________________ [20/Apr/2023 02:41:29] Validation_user_idm pre : N/A ________________________________________________________________________________ [20/Apr/2023 02:41:29] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [20/Apr/2023 02:41:29] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [20/Apr/2023 02:41:29] 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: BxvqNDZ8f5u0B9ekmNR9HwM1" -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": "9PHFM3mu99_dVw2q-9DpLKelgzY.*AAJTSQACMDIAAlNLABwwdXpJZWFSaTg2MzdHc1FTaEdjNEI0ZEN5Nm89AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=9PHFM3mu99_dVw2q-9DpLKelgzY.*AAJTSQACMDIAAlNLABwwdXpJZWFSaTg2MzdHc1FTaEdjNEI0ZEN5Nm89AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681958490.45.241659.337825|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "9PHFM3mu99_dVw2q-9DpLKelgzY.*AAJTSQACMDIAAlNLABwwdXpJZWFSaTg2MzdHc1FTaEdjNEI0ZEN5Nm89AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 20 Apr 2023 02:41:29 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=DcxvtPa8u_jGFEVbjYWD_NOM2Eo&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': '3fbdf1ec7f2c64730f3eff6d8fd06ed4'} 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": "DcxvtPa8u_jGFEVbjYWD_NOM2Eo"}' "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": "Lfviyw14SFyZc0gLWwkxLNTrb_s", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer Lfviyw14SFyZc0gLWwkxLNTrb_s" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230420020300", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230420020300@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": "aa08a1c1-75d4-416e-8ac9-2cad2bae300e", "_rev": "93254f43-3603-468b-98ca-246e60ae6b62-482", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230420020300@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230420020300", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [20/Apr/2023 02:41:31] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230420020300 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230420020300" -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": "u84RWp4P3r5kn0n40hpkLralzQ8.*AAJTSQACMDIAAlNLABx4V3hVZ0hBK2FHZ09NaGt1R1Q0QkkrVFhjQWs9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=u84RWp4P3r5kn0n40hpkLralzQ8.*AAJTSQACMDIAAlNLABx4V3hVZ0hBK2FHZ09NaGt1R1Q0QkkrVFhjQWs9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681958492.63.241717.744361|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "u84RWp4P3r5kn0n40hpkLralzQ8.*AAJTSQACMDIAAlNLABx4V3hVZ0hBK2FHZ09NaGt1R1Q0QkkrVFhjQWs9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 20 Apr 2023 02:41:31 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=91A6h__bg5vdQa01G372GYnfsow&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': '5bbb14704807f405839e1afab28c8934'} 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": "91A6h__bg5vdQa01G372GYnfsow"}' "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": "CMVfc0wdsOeOcmMvKVnwFav_Kos", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer CMVfc0wdsOeOcmMvKVnwFav_Kos" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/aa08a1c1-75d4-416e-8ac9-2cad2bae300e" [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": "aa08a1c1-75d4-416e-8ac9-2cad2bae300e", "_rev": "93254f43-3603-468b-98ca-246e60ae6b62-482", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230420020300@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230420020300", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [20/Apr/2023 02:41:32] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiNDRvbXFhMGlsZnRnOHNyMW81czMybGQ4ZDUiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGF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M1JVczVZVzVMYTBVek9FSXdjVU5WTkc5RWVVeExTa1ZMYm1Kc1dXcGhOWFZYYld4SVZ6aHRVMFp2VmpaWVZrNVlWSFYwVGxJNGJUaDVRblJLVXkxQ01HcEdYM2xmYWtoMFJqTjNNVkZMWDNWelYwa3RkbDlYU21OMlpFVjZNRzl5UnpCc01Ua3dTM0JMYWtSeWRVOUllSEJYWkVWdVlWQXlWSEV4UXpSMlN6SXlRbU0xWmxFd1VIRnJMVzA1TjA5QmNGOXVZWGczV0VVNU0zbDVaMnR2TGs5b1RIWnpkR281Y0dZME1rSndlazAwYW01TlJXYy5vVGFMcmtIY1BBLVZ1VVE2SHZCM1hzYTFFMnJVS0c4bjJxRHNPNXA5VVFNIiwiZXhwIjoxNjgxOTU4NzkzLCJpYXQiOjE2ODE5NTg0OTN9.17uvZE8GyBicfVSMTMbjsbTD-lriecyidaZBJe1pDf4", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiNDRvbXFhMGlsZnRnOHNyMW81czMybGQ4ZDUiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRV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m1Kc1dXcGhOWFZYYld4SVZ6aHRVMFp2VmpaWVZrNVlWSFYwVGxJNGJUaDVRblJLVXkxQ01HcEdYM2xmYWtoMFJqTjNNVkZMWDNWelYwa3RkbDlYU21OMlpFVjZNRzl5UnpCc01Ua3dTM0JMYWtSeWRVOUllSEJYWkVWdVlWQXlWSEV4UXpSMlN6SXlRbU0xWmxFd1VIRnJMVzA1TjA5QmNGOXVZWGczV0VVNU0zbDVaMnR2TGs5b1RIWnpkR281Y0dZME1rSndlazAwYW01TlJXYy5vVGFMcmtIY1BBLVZ1VVE2SHZCM1hzYTFFMnJVS0c4bjJxRHNPNXA5VVFNIiwiZXhwIjoxNjgxOTU4NzkzLCJpYXQiOjE2ODE5NTg0OTN9.17uvZE8GyBicfVSMTMbjsbTD-lriecyidaZBJe1pDf4", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230420020300"}], "_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": "OqpTSjxQBiS-KWdV5cHFgHuCyNk.*AAJTSQACMDIAAlNLABxlN0kzRmJta24ySFZBTVhMbGM2YWp1NjZNNWs9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [20/Apr/2023 02:41:34] 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: BxvqNDZ8f5u0B9ekmNR9HwM1" -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": "WoP31sCE2SEEEL16owoVgSiR5x4.*AAJTSQACMDIAAlNLABxKbUN6eSsvUE1RVDczVWMrSnR5UU1SN3lOL1E9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=WoP31sCE2SEEEL16owoVgSiR5x4.*AAJTSQACMDIAAlNLABxKbUN6eSsvUE1RVDczVWMrSnR5UU1SN3lOL1E9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681958495.562.241656.412918|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "WoP31sCE2SEEEL16owoVgSiR5x4.*AAJTSQACMDIAAlNLABxKbUN6eSsvUE1RVDczVWMrSnR5UU1SN3lOL1E9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 20 Apr 2023 02:41:34 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=D9wBrQ81JPpjeSjanhB7dsjRtIU&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': '67523e84c83360c5c3d6cbe2cc2cc587'} 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": "D9wBrQ81JPpjeSjanhB7dsjRtIU"}' "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": "C0m-vbqKG7UZLQ5LBGfRZaztWwE", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer C0m-vbqKG7UZLQ5LBGfRZaztWwE" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/aa08a1c1-75d4-416e-8ac9-2cad2bae300e" [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": "aa08a1c1-75d4-416e-8ac9-2cad2bae300e", "_rev": "93254f43-3603-468b-98ca-246e60ae6b62-482", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230420020300@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230420020300", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [20/Apr/2023 02:41:35] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped