--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 ________________________________________________________________________________ [07/Apr/2023 17:33:24] Validation_user_idm pre : N/A ________________________________________________________________________________ [07/Apr/2023 17:33:24] - INFO: Timeout for this Task has changed to 30m (1800 seconds) [07/Apr/2023 17:33:24] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [07/Apr/2023 17:33:24] 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: Vli69Tul0BTq4vJGF9y3v0ac" -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": "xvxQdfysO6VBYjlvdbB_yeXBgx4.*AAJTSQACMDIAAlNLABxDK0FGNlhXY2REUnpDdmtTOTl6cSs4NmFqbEk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=xvxQdfysO6VBYjlvdbB_yeXBgx4.*AAJTSQACMDIAAlNLABxDK0FGNlhXY2REUnpDdmtTOTl6cSs4NmFqbEk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680888805.343.56336.311003|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "xvxQdfysO6VBYjlvdbB_yeXBgx4.*AAJTSQACMDIAAlNLABxDK0FGNlhXY2REUnpDdmtTOTl6cSs4NmFqbEk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Fri, 07 Apr 2023 17:33:24 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=k5anAynxCgIskLRNxGrDM2o40lE&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': 'd548a37cf6f9150f7caa881acdb44f18'} 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": "k5anAynxCgIskLRNxGrDM2o40lE"}' "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": "BMnCHWQ8Re-wOp9C8mOPDk1ovKg", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer BMnCHWQ8Re-wOp9C8mOPDk1ovKg" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230407170111", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230407170111@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": "c3bbd551-f1c1-44bb-942c-407d4c7fc47d", "_rev": "5c223619-55ca-41bc-a581-683a47cdfb09-4000645", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230407170111@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230407170111", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [07/Apr/2023 17:33:25] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230407170111 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230407170111" -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": "HFM83IQF4mq4rN0cVLIkT8vB49M.*AAJTSQACMDIAAlNLABxyZDh2eEhMMmYyN2Z1Y1d0Uk9pSEFFdzNhNkk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=HFM83IQF4mq4rN0cVLIkT8vB49M.*AAJTSQACMDIAAlNLABxyZDh2eEhMMmYyN2Z1Y1d0Uk9pSEFFdzNhNkk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680888806.285.56425.104544|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "HFM83IQF4mq4rN0cVLIkT8vB49M.*AAJTSQACMDIAAlNLABxyZDh2eEhMMmYyN2Z1Y1d0Uk9pSEFFdzNhNkk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Fri, 07 Apr 2023 17:33:25 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=mRn1Xj7xncL851HP7MhZD9ritlY&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': '90fe7a600d6cbee3a70f4f5d06c22510'} 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": "mRn1Xj7xncL851HP7MhZD9ritlY"}' "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": "-vqsJUKJ884BXAfDXwPJ9Pvxbpg", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer -vqsJUKJ884BXAfDXwPJ9Pvxbpg" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/c3bbd551-f1c1-44bb-942c-407d4c7fc47d" [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": "c3bbd551-f1c1-44bb-942c-407d4c7fc47d", "_rev": "5c223619-55ca-41bc-a581-683a47cdfb09-4000645", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230407170111@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230407170111", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [07/Apr/2023 17:33:26] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoib3NsMTZ1M3BtYzVmc2N0cG9sbWsxamxhNGYiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR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VdXMUNRelV6WkdGZmFsZEdRWGR3UkVkYU1tdHBTa2t3ZDJzeE9USllRVWhOUjJWMmVVRm9hVkExZUZORmNuQkdTa3BLV21KS01sSTJaVFpEUTFSNmN6QmpaRjlsZG5GME4yWkpRVFV6UTNFeFlWUnRha3hGVFZGM1pXVklhV1pZVUdwUFRqSjZMVE5qWjI5WlJtVmhXa3hmYW1WaGFEZHZTa1owYlhaU05FWnRjMDlPU1VZNFFYWnVVbkZhTW05aGRqWnlRMkpHU1hsMFdEQjFZMHBHZEc1alEzVnlXbTB3TG5aRU9YZHRPRGhLVTB4cmRGUk1UVXRwY21SNGRHYy5YMXZjaUx0S19Ed2FNWkxiRms2SlFBdzZoY25Na2xNYl9SakRJc3RtTklVIiwiZXhwIjoxNjgwODg5MTA3LCJpYXQiOjE2ODA4ODg4MDd9.Yp15_M4QW8gsHPWM4VMr7R83GyAIaiAlgavu_-3iN5o", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoib3NsMTZ1M3BtYzVmc2N0cG9sbWsxamxhNGYiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTV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JzeE9USllRVWhOUjJWMmVVRm9hVkExZUZORmNuQkdTa3BLV21KS01sSTJaVFpEUTFSNmN6QmpaRjlsZG5GME4yWkpRVFV6UTNFeFlWUnRha3hGVFZGM1pXVklhV1pZVUdwUFRqSjZMVE5qWjI5WlJtVmhXa3hmYW1WaGFEZHZTa1owYlhaU05FWnRjMDlPU1VZNFFYWnVVbkZhTW05aGRqWnlRMkpHU1hsMFdEQjFZMHBHZEc1alEzVnlXbTB3TG5aRU9YZHRPRGhLVTB4cmRGUk1UVXRwY21SNGRHYy5YMXZjaUx0S19Ed2FNWkxiRms2SlFBdzZoY25Na2xNYl9SakRJc3RtTklVIiwiZXhwIjoxNjgwODg5MTA3LCJpYXQiOjE2ODA4ODg4MDd9.Yp15_M4QW8gsHPWM4VMr7R83GyAIaiAlgavu_-3iN5o", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230407170111"}], "_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": "Akziz2-gH95IIe7ZgL8LJhDa0iQ.*AAJTSQACMDIAAlNLABxyRUY0SkN1Q2hyc2JJM1pSVFNKUTQ0S2lzQ009AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [07/Apr/2023 17:33:27] 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: Vli69Tul0BTq4vJGF9y3v0ac" -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": "PSn2cjzgRMt8nzbzmhQAW509u2M.*AAJTSQACMDIAAlNLABxhY3N1Z2Z5ZE9Cd1M2Y2dwWFo2S1RoSFNJRTQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=PSn2cjzgRMt8nzbzmhQAW509u2M.*AAJTSQACMDIAAlNLABxhY3N1Z2Z5ZE9Cd1M2Y2dwWFo2S1RoSFNJRTQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680888808.65.56334.52454|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "PSn2cjzgRMt8nzbzmhQAW509u2M.*AAJTSQACMDIAAlNLABxhY3N1Z2Z5ZE9Cd1M2Y2dwWFo2S1RoSFNJRTQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Fri, 07 Apr 2023 17:33:27 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=cJmf-62Hbu0n15cJsiZqIAw1xXU&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': '08306aafe5465df8763d8ba68588806a'} 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": "cJmf-62Hbu0n15cJsiZqIAw1xXU"}' "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": "hgGewApWUYKzIgfcFQBo32VH2t0", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer hgGewApWUYKzIgfcFQBo32VH2t0" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/c3bbd551-f1c1-44bb-942c-407d4c7fc47d" [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": "c3bbd551-f1c1-44bb-942c-407d4c7fc47d", "_rev": "5c223619-55ca-41bc-a581-683a47cdfb09-4000645", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230407170111@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230407170111", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [07/Apr/2023 17:33:28] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped