--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 ________________________________________________________________________________ [08/Apr/2023 18:50:15] Validation_user_idm pre : N/A ________________________________________________________________________________ [08/Apr/2023 18:50:15] - INFO: Timeout for this Task has changed to 1h (3600 seconds) [08/Apr/2023 18:50:15] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [08/Apr/2023 18:50:15] 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: FzGb2cZGB4iTQLiiVUxIIlo9" -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": "EaLUX_VxsLW4rzrm3YbTAVUvES4.*AAJTSQACMDIAAlNLABxXZ0l5cVo2QmR6WUE2TnpvV2ZGcHBUc2QveG89AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=EaLUX_VxsLW4rzrm3YbTAVUvES4.*AAJTSQACMDIAAlNLABxXZ0l5cVo2QmR6WUE2TnpvV2ZGcHBUc2QveG89AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680979816.819.96493.187136|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "EaLUX_VxsLW4rzrm3YbTAVUvES4.*AAJTSQACMDIAAlNLABxXZ0l5cVo2QmR6WUE2TnpvV2ZGcHBUc2QveG89AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Sat, 08 Apr 2023 18:50:16 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=Kdyw6LVnPi2904V2tb2pLCRGl1Y&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': 'b261cadffa43034d72e0287133bfe075'} 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": "Kdyw6LVnPi2904V2tb2pLCRGl1Y"}' "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": "ADnU6mMzMJZhAHqHiD88utgDu2o", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer ADnU6mMzMJZhAHqHiD88utgDu2o" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230408181921", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230408181921@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": "cd17b358-f7bf-4da7-9af6-20e29decda7d", "_rev": "8e3d015f-087c-47ef-a45a-bb764eecd26f-4000618", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230408181921@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230408181921", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [08/Apr/2023 18:50:16] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230408181921 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230408181921" -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": "NalIL6oy60U9EKcfu_rl_hIGp9c.*AAJTSQACMDIAAlNLABxkZFlGQXkvOXBRMUpyMEZOb1ViREluYzAyazg9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=NalIL6oy60U9EKcfu_rl_hIGp9c.*AAJTSQACMDIAAlNLABxkZFlGQXkvOXBRMUpyMEZOb1ViREluYzAyazg9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680979817.839.96494.411701|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "NalIL6oy60U9EKcfu_rl_hIGp9c.*AAJTSQACMDIAAlNLABxkZFlGQXkvOXBRMUpyMEZOb1ViREluYzAyazg9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Sat, 08 Apr 2023 18:50:17 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=sdwnfQCjqo2XCGxeDQsRyigRxBQ&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': '70e9597d78486437918b24af7bf32db4'} 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": "sdwnfQCjqo2XCGxeDQsRyigRxBQ"}' "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": "aYIWaJJBFO2MOhh4EQUw_YVlxEo", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer aYIWaJJBFO2MOhh4EQUw_YVlxEo" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/cd17b358-f7bf-4da7-9af6-20e29decda7d" [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": "cd17b358-f7bf-4da7-9af6-20e29decda7d", "_rev": "8e3d015f-087c-47ef-a45a-bb764eecd26f-4000618", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230408181921@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230408181921", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [08/Apr/2023 18:50:17] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiMnE1MjE3czQ2ajdyZ2MxdXJhNjVqZGNlZTYiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWak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5YWpaUmFYSkpabHBIU1hkdlVXaFJSVGhGYmxGSmNHNVBla05mU0dKSVIzQTBTMWMwT0hwaVVsTkNSM1E0UlZSU1VXSndNa2xrU2toUmJVeGllbWh1TnpSaldUWkdWa0ZuVDBzMFZFSndUazB0Y0VSQlgyNXVOemQzVEVZNVUzUnNaVmRSYm5oWlVXUlBVWGRzVFdSaVEzaDNXWHBVZUVkakxVeFNZV0paVjA1WVJUUmhlRkprY0hSbVdFRkNjSHB5TTJZNFowOWtOemR1Y1VGelFtNDJURUZaTG1Sd1dIZGphakkyWW1KdmRrRTNVVTlTWlVsNFZVRS50TkpTMlpiYzZLbFlqcmt1R0pYRFBRZDY4Ty1FR3prSnd2V25VQ1M1dzVVIiwiZXhwIjoxNjgwOTgwMTE4LCJpYXQiOjE2ODA5Nzk4MTh9.uLTAla8bzRYjgkjVPFrOv2CiK5XSie7s34F9XYvalyI", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiMnE1MjE3czQ2ajdyZ2MxdXJhNjVqZGNlZTYiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUV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GSmNHNVBla05mU0dKSVIzQTBTMWMwT0hwaVVsTkNSM1E0UlZSU1VXSndNa2xrU2toUmJVeGllbWh1TnpSaldUWkdWa0ZuVDBzMFZFSndUazB0Y0VSQlgyNXVOemQzVEVZNVUzUnNaVmRSYm5oWlVXUlBVWGRzVFdSaVEzaDNXWHBVZUVkakxVeFNZV0paVjA1WVJUUmhlRkprY0hSbVdFRkNjSHB5TTJZNFowOWtOemR1Y1VGelFtNDJURUZaTG1Sd1dIZGphakkyWW1KdmRrRTNVVTlTWlVsNFZVRS50TkpTMlpiYzZLbFlqcmt1R0pYRFBRZDY4Ty1FR3prSnd2V25VQ1M1dzVVIiwiZXhwIjoxNjgwOTgwMTE4LCJpYXQiOjE2ODA5Nzk4MTh9.uLTAla8bzRYjgkjVPFrOv2CiK5XSie7s34F9XYvalyI", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230408181921"}], "_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": "umT0tuiBdTb3iZG67aoBrPesCSs.*AAJTSQACMDIAAlNLABxCRXVWUGJ6dE0yYzBGSllnSXBpSTFiZGhyVEk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [08/Apr/2023 18:50:19] 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: FzGb2cZGB4iTQLiiVUxIIlo9" -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": "OQNGTm_aezipg0N5w06Edtk2G5E.*AAJTSQACMDIAAlNLABxaMkdhMVk1dTNEMWxJa3BqTlpXTmtRdC9hMHM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=OQNGTm_aezipg0N5w06Edtk2G5E.*AAJTSQACMDIAAlNLABxaMkdhMVk1dTNEMWxJa3BqTlpXTmtRdC9hMHM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680979820.875.96301.934039|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "OQNGTm_aezipg0N5w06Edtk2G5E.*AAJTSQACMDIAAlNLABxaMkdhMVk1dTNEMWxJa3BqTlpXTmtRdC9hMHM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Sat, 08 Apr 2023 18:50:20 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=PuFr_uzUg_qHACo39O9Rzbupf8Y&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': '1c1e0a324c175922284d1b47e7a84150'} 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": "PuFr_uzUg_qHACo39O9Rzbupf8Y"}' "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": "t98orax5HmIBUM4toE3bO8sY6QI", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer t98orax5HmIBUM4toE3bO8sY6QI" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/cd17b358-f7bf-4da7-9af6-20e29decda7d" [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": "cd17b358-f7bf-4da7-9af6-20e29decda7d", "_rev": "8e3d015f-087c-47ef-a45a-bb764eecd26f-4000618", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230408181921@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230408181921", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [08/Apr/2023 18:50:20] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped