--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 ________________________________________________________________________________ [12/Apr/2023 18:15:44] Validation_user_idm pre : N/A ________________________________________________________________________________ [12/Apr/2023 18:15:44] - INFO: Timeout for this Task has changed to 12h (43200 seconds) [12/Apr/2023 18:15:44] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [12/Apr/2023 18:15:44] 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: s9MdrzrfuDjScJQEQTnTfdxa" -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": "xoBHGz4ntoZZuzU1lIVenzOZXrY.*AAJTSQACMDIAAlNLABxuSUhUY2pNTjdHZHBOakFzMmo2bnJlTjRxM2s9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=xoBHGz4ntoZZuzU1lIVenzOZXrY.*AAJTSQACMDIAAlNLABxuSUhUY2pNTjdHZHBOakFzMmo2bnJlTjRxM2s9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681323346.005.115375.204100|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "xoBHGz4ntoZZuzU1lIVenzOZXrY.*AAJTSQACMDIAAlNLABxuSUhUY2pNTjdHZHBOakFzMmo2bnJlTjRxM2s9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 12 Apr 2023 18:15:45 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=tvOzcprHasowCwqj0NYkZTtk_Mk&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': 'c9d2bb6b6704323368be489847e0c601'} 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": "tvOzcprHasowCwqj0NYkZTtk_Mk"}' "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": "szr49LcdmwhHHkUxfuqjt_NCUzk", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer szr49LcdmwhHHkUxfuqjt_NCUzk" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230412153942", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230412153942@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": "af989d07-b1f7-4a71-8e80-1a786626e89f", "_rev": "44622678-fad0-4222-8c48-1ab7566a7846-10003620", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230412153942@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230412153942", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [12/Apr/2023 18:15:46] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230412153942 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230412153942" -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": "f6xwFDr2VUXSb1SBHb-SjvddN5I.*AAJTSQACMDIAAlNLABwxTTBYMncrMTRic0hHSHN2NGRyZmd1MVY1M2s9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=f6xwFDr2VUXSb1SBHb-SjvddN5I.*AAJTSQACMDIAAlNLABwxTTBYMncrMTRic0hHSHN2NGRyZmd1MVY1M2s9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681323348.102.115276.589351|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "f6xwFDr2VUXSb1SBHb-SjvddN5I.*AAJTSQACMDIAAlNLABwxTTBYMncrMTRic0hHSHN2NGRyZmd1MVY1M2s9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 12 Apr 2023 18:15:47 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=zCTDlvV7EqL6wBczEnAr5KlW3us&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': '526a4cfa74b85fc0cf84ae72981dd858'} 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": "zCTDlvV7EqL6wBczEnAr5KlW3us"}' "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": "pngCeeKyfttWzFNLOgTMkarEd6E", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer pngCeeKyfttWzFNLOgTMkarEd6E" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/af989d07-b1f7-4a71-8e80-1a786626e89f" [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": "af989d07-b1f7-4a71-8e80-1a786626e89f", "_rev": "44622678-fad0-4222-8c48-1ab7566a7846-10003620", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230412153942@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230412153942", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [12/Apr/2023 18:15:48] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibmg0dnR1MjM5YmhidHZ0bTRobTE0MWw5N2siLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJs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0dlRsZHpOV1l0WkZWdVUwWktOVzFKWWxKSlFrcEZXR1JOV0VsTk5WVkhMV3R4Y0hOb1MzQm9RbEIxTFdKRFVGTnBMVzlRYW1SNlJubDZZVk55Ykd4cFVITm1WQzF1TWtaa05rMDRaa0pvVkdNemF6UnFOWFp5ZWtsR1RrTnNWMnBTU0daSFpWVkNNbWc1WlZOWk9XZElkWE5SYUdoNGVWaFJSMUprYWxOQ1pYUkZNM2R5YkhoMlpHbFJWRE0yUmxKVFpETldiRzFGTGtOVGF5MHhVRzVFVkdKWVRuRmFZelJuVFZsRWIzYy5JUGdEZjJjcXdMNlI0dFFFNWRmYVpfSXUzS2EwSDFKd3Y0YkdKVHFMcUhFIiwiZXhwIjoxNjgxMzIzNjQ5LCJpYXQiOjE2ODEzMjMzNDl9.5mloM0Jk7erQXa6PWW8abQZmLIlS4aPed8T1SWxEYFw", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibmg0dnR1MjM5YmhidHZ0bTRobTE0MWw5N2siLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9WRTFx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KWWxKSlFrcEZXR1JOV0VsTk5WVkhMV3R4Y0hOb1MzQm9RbEIxTFdKRFVGTnBMVzlRYW1SNlJubDZZVk55Ykd4cFVITm1WQzF1TWtaa05rMDRaa0pvVkdNemF6UnFOWFp5ZWtsR1RrTnNWMnBTU0daSFpWVkNNbWc1WlZOWk9XZElkWE5SYUdoNGVWaFJSMUprYWxOQ1pYUkZNM2R5YkhoMlpHbFJWRE0yUmxKVFpETldiRzFGTGtOVGF5MHhVRzVFVkdKWVRuRmFZelJuVFZsRWIzYy5JUGdEZjJjcXdMNlI0dFFFNWRmYVpfSXUzS2EwSDFKd3Y0YkdKVHFMcUhFIiwiZXhwIjoxNjgxMzIzNjQ5LCJpYXQiOjE2ODEzMjMzNDl9.5mloM0Jk7erQXa6PWW8abQZmLIlS4aPed8T1SWxEYFw", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230412153942"}], "_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": "XkeP-NwsGu5yOOxFgbz5aa3FRKA.*AAJTSQACMDIAAlNLABxLKzN5MFFaalRtTmR5YVphcFZKelh0a29QZmM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [12/Apr/2023 18:15:50] 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: s9MdrzrfuDjScJQEQTnTfdxa" -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": "ryPy03aqSqIiiPyCkHpbs6ViMg8.*AAJTSQACMDIAAlNLABxqMTNJcm1qUUlqdWs1QmhNcFlpZmdGTDZMRnc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=ryPy03aqSqIiiPyCkHpbs6ViMg8.*AAJTSQACMDIAAlNLABxqMTNJcm1qUUlqdWs1QmhNcFlpZmdGTDZMRnc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681323351.697.115276.807995|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "ryPy03aqSqIiiPyCkHpbs6ViMg8.*AAJTSQACMDIAAlNLABxqMTNJcm1qUUlqdWs1QmhNcFlpZmdGTDZMRnc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 12 Apr 2023 18:15:51 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=1x1S4HKSotFGPS3EmPa3mqo5Rhc&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': 'ea7748376d0a5297fbc7cd800118d278'} 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": "1x1S4HKSotFGPS3EmPa3mqo5Rhc"}' "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": "eZOsUAHl-dzmaGBDUamp21trQ_Q", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer eZOsUAHl-dzmaGBDUamp21trQ_Q" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/af989d07-b1f7-4a71-8e80-1a786626e89f" [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": "af989d07-b1f7-4a71-8e80-1a786626e89f", "_rev": "44622678-fad0-4222-8c48-1ab7566a7846-10003620", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230412153942@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230412153942", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [12/Apr/2023 18:15:51] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped