--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 ________________________________________________________________________________ [21/Apr/2023 04:23:40] Validation_user_idm pre : N/A ________________________________________________________________________________ [21/Apr/2023 04:23:40] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [21/Apr/2023 04:23:40] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [21/Apr/2023 04:23:40] 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: MyE0dR4300CzLZspx1Rgafd6" -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": "Uo90L1THNyojD38xluP7rqwEWIk.*AAJTSQACMDIAAlNLABxhM3d2aXljemxFSERUSlBSaXVMWGVCZDRPamM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=Uo90L1THNyojD38xluP7rqwEWIk.*AAJTSQACMDIAAlNLABxhM3d2aXljemxFSERUSlBSaXVMWGVCZDRPamM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682051022.047.256163.447337|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "Uo90L1THNyojD38xluP7rqwEWIk.*AAJTSQACMDIAAlNLABxhM3d2aXljemxFSERUSlBSaXVMWGVCZDRPamM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 21 Apr 2023 04:23:42 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=uSrai1UvX5GxQT490a8NqJ6uutU&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': '549a1bd9a55fc9e7bdcc6624e56c953f'} 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": "uSrai1UvX5GxQT490a8NqJ6uutU"}' "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": "kEHplrOiicHlm94GkWEwGE87LUM", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer kEHplrOiicHlm94GkWEwGE87LUM" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230421034529", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230421034529@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": "9e310d79-d87a-4feb-8d5a-e45cb38824e4", "_rev": "f966a007-172a-420b-97c4-ed165dcf1bd9-473", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230421034529@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230421034529", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [21/Apr/2023 04:23:43] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230421034529 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230421034529" -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": "X0C5vt5kUzz1tw5hq5t6IqdMvzM.*AAJTSQACMDIAAlNLABxBdVRKYWZrTjJDeEI3RkpiZG1wbnJDL3dZTzQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=X0C5vt5kUzz1tw5hq5t6IqdMvzM.*AAJTSQACMDIAAlNLABxBdVRKYWZrTjJDeEI3RkpiZG1wbnJDL3dZTzQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682051024.729.255993.309216|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "X0C5vt5kUzz1tw5hq5t6IqdMvzM.*AAJTSQACMDIAAlNLABxBdVRKYWZrTjJDeEI3RkpiZG1wbnJDL3dZTzQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 21 Apr 2023 04:23:44 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=hB9O51QLk6fv7RzDD-snK87IZ9w&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': '3b047d3b01dcd1670e913cda893ef329'} 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": "hB9O51QLk6fv7RzDD-snK87IZ9w"}' "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": "VdmQMF7X35wrLR4oq8RhyPb56NU", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer VdmQMF7X35wrLR4oq8RhyPb56NU" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/9e310d79-d87a-4feb-8d5a-e45cb38824e4" [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": "9e310d79-d87a-4feb-8d5a-e45cb38824e4", "_rev": "f966a007-172a-420b-97c4-ed165dcf1bd9-473", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230421034529@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230421034529", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [21/Apr/2023 04:23:44] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibmFvbmF0M2FjajJxMTloaHUyc2s4YnR1OTAiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1Fr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UjFaaFRrWlNPVEUzTVdKaFR6WTNRMFZ0VUhaclJUaFpWemhwVUhvdFduaFNNVmxMTnpoRVJuVjNaR2RvZW1aeVkxVlRWWGRPY0hCR1ltcFdXREZ1UkdGTFNDMDBNbU4wZEhjMWEyUnNXRWQwU25WSFV6SmxUSEpTYWxsbmJVMWlVM0ZMTTJ0M1dUUldWMDE2ZFRGaE9DMURWVlpJUmxZdGNsOTFMV3RqT0ZJd1dXZENUa1V0TkRZdFNXMW1VVmRGWjFaU1dGQkZhWE5STG10dU1ISm1WM1ZvY0ZScE9EVlRiVVEwVUdSRGVXYy5RazNzTTJMSFZfMWxuU0dDV3MyZS1NY2czeW1aNUhhRzI0ME4tOWtOOVR3IiwiZXhwIjoxNjgyMDUxMzI2LCJpYXQiOjE2ODIwNTEwMjZ9.ReaQMzB8gEN-mY33FfxyDjTNbSBqG0WX__R9F1IWs7I", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibmFvbmF0M2FjajJxMTloaHUyc2s4YnR1OTAiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9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KaFR6WTNRMFZ0VUhaclJUaFpWemhwVUhvdFduaFNNVmxMTnpoRVJuVjNaR2RvZW1aeVkxVlRWWGRPY0hCR1ltcFdXREZ1UkdGTFNDMDBNbU4wZEhjMWEyUnNXRWQwU25WSFV6SmxUSEpTYWxsbmJVMWlVM0ZMTTJ0M1dUUldWMDE2ZFRGaE9DMURWVlpJUmxZdGNsOTFMV3RqT0ZJd1dXZENUa1V0TkRZdFNXMW1VVmRGWjFaU1dGQkZhWE5STG10dU1ISm1WM1ZvY0ZScE9EVlRiVVEwVUdSRGVXYy5RazNzTTJMSFZfMWxuU0dDV3MyZS1NY2czeW1aNUhhRzI0ME4tOWtOOVR3IiwiZXhwIjoxNjgyMDUxMzI2LCJpYXQiOjE2ODIwNTEwMjZ9.ReaQMzB8gEN-mY33FfxyDjTNbSBqG0WX__R9F1IWs7I", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230421034529"}], "_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": "MnBs5kwqFJtadyLvSN3qFEsVMsI.*AAJTSQACMDIAAlNLABxhaTBFakU1NWJjY3dCVk1nUjZzeFZSb1h0d2c9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [21/Apr/2023 04:23:47] 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: MyE0dR4300CzLZspx1Rgafd6" -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": "1ArTp17rQRsJsY2VgFQhpXFtVSg.*AAJTSQACMDIAAlNLABxRMFVheDluS1dXak04cXI1ZkJYMk5UU2k4eW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=1ArTp17rQRsJsY2VgFQhpXFtVSg.*AAJTSQACMDIAAlNLABxRMFVheDluS1dXak04cXI1ZkJYMk5UU2k4eW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682051028.455.256289.280025|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "1ArTp17rQRsJsY2VgFQhpXFtVSg.*AAJTSQACMDIAAlNLABxRMFVheDluS1dXak04cXI1ZkJYMk5UU2k4eW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 21 Apr 2023 04:23: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=VX8FM_plrlq186EADp88QKhp2ME&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': '7fcbb56514643e44ea423ce8156abf44'} 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": "VX8FM_plrlq186EADp88QKhp2ME"}' "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": "B8GNgkgz9Lai-37E-B1TsCVsBu4", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer B8GNgkgz9Lai-37E-B1TsCVsBu4" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/9e310d79-d87a-4feb-8d5a-e45cb38824e4" [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": "9e310d79-d87a-4feb-8d5a-e45cb38824e4", "_rev": "f966a007-172a-420b-97c4-ed165dcf1bd9-473", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230421034529@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230421034529", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [21/Apr/2023 04:23:48] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped