--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 ________________________________________________________________________________ [18/May/2023 19:36:24] Validation_user_idm pre : N/A ________________________________________________________________________________ [18/May/2023 19:36:24] - INFO: Timeout for this Task has changed to 4h (14400 seconds) [18/May/2023 19:36:24] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [18/May/2023 19:36:24] Validation_user_idm step1 : Make sure we can create a user ________________________________________________________________________________ [LoginSession] Get "access_token" token for user "amadmin" [LoginSession] Obtaining new "access_token" token from server because it was not obtained yet for the user [LoginSession] Get "token_id" token for user "amadmin" [LoginSession] Obtaining new "token_id" token from server because it has expired Authenticate user amadmin via REST [http_cmd]: curl -H "X-OpenAM-Username: amadmin" -H "X-OpenAM-Password: SFkrGkagNlOdh96t8ApjUBAB" -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": "VoLFr0L4_dz2kVkHb_5ZMORznRM.*AAJTSQACMDIAAlNLABxuWjZMVW5FUzVpZ3dKajdDRlFmejdiWC9EZTQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } [LoginSession] Obtaining session info [http_cmd]: curl -H "iPlanetDirectoryPro: VoLFr0L4_dz2kVkHb_5ZMORznRM.*AAJTSQACMDIAAlNLABxuWjZMVW5FUzVpZ3dKajdDRlFmejdiWC9EZTQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" -H "Content-Type: application/json" -H "Accept-API-Version: resource=3.0, protocol=2.1" -H "filters_cookie: VoLFr0L4_dz2kVkHb_5ZMORznRM.*AAJTSQACMDIAAlNLABxuWjZMVW5FUzVpZ3dKajdDRlFmejdiWC9EZTQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" -L -X POST "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/realms/root/sessions?_action=getSessionInfo" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "username": "amadmin", "universalId": "id=amadmin,ou=user,ou=am-config", "realm": "/", "latestAccessTime": "2023-05-18T19:36:25Z", "maxIdleExpirationTime": "2023-05-18T20:06:25Z", "maxSessionExpirationTime": "2023-05-18T21:36:24Z", "properties": { "AMCtxId": "23de2fc1-2441-426d-a6e2-a09165116082-5046" } } Obtain Oauth2 authz code via REST Oauth2 authorize for access token [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -X POST --cookie "amlbcookie=01" --cookie "iPlanetDirectoryPro=VoLFr0L4_dz2kVkHb_5ZMORznRM.*AAJTSQACMDIAAlNLABxuWjZMVW5FUzVpZ3dKajdDRlFmejdiWC9EZTQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1684438585.411.130225.128914|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "VoLFr0L4_dz2kVkHb_5ZMORznRM.*AAJTSQACMDIAAlNLABxuWjZMVW5FUzVpZ3dKajdDRlFmejdiWC9EZTQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 18 May 2023 19:36: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=RxRwEjUBPwbyyYvOflb0kXdoEDE&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': 'a3c6fec2c725ff9fe81704dd79f49d81'} Oauth2 exchange authorize code for access token [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": "RxRwEjUBPwbyyYvOflb0kXdoEDE"}' "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": "Gh7DFT1GSBb7D1CMz32eA0Ca-K8", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer Gh7DFT1GSBb7D1CMz32eA0Ca-K8" -H "Content-Type: application/json" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230518164454", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230518164454@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": "778acb88-5e29-4bfd-a576-d3acf4401232", "_rev": "2ca7b32c-3ee1-46ad-9e59-78142669f2d2-10003863", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230518164454@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230518164454", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [18/May/2023 19:36:26] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Create new LoginSession for user "SpiderMan_on_idm_20230518164454" [LoginSession] Get "access_token" token for user "SpiderMan_on_idm_20230518164454" [LoginSession] Obtaining new "access_token" token from server because it was not obtained yet for the user [LoginSession] Get "token_id" token for user "SpiderMan_on_idm_20230518164454" [LoginSession] Obtaining new "token_id" token from server because it was not obtained yet for the user Authenticate user SpiderMan_on_idm_20230518164454 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230518164454" -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": "4SfIp_HmH6x6EmMpSGTAtv26S6U.*AAJTSQACMDIAAlNLABxFd282alFIY0xnNFNsTHNGY3Q5ajEwbTltWkU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } [LoginSession] Obtaining session info [http_cmd]: curl -H "iPlanetDirectoryPro: 4SfIp_HmH6x6EmMpSGTAtv26S6U.*AAJTSQACMDIAAlNLABxFd282alFIY0xnNFNsTHNGY3Q5ajEwbTltWkU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" -H "Content-Type: application/json" -H "Accept-API-Version: resource=3.0, protocol=2.1" -H "filters_cookie: 4SfIp_HmH6x6EmMpSGTAtv26S6U.*AAJTSQACMDIAAlNLABxFd282alFIY0xnNFNsTHNGY3Q5ajEwbTltWkU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" -L -X POST "https://xlou.iam.xlou-cdm.engineeringpit.com/am/json/realms/root/sessions?_action=getSessionInfo" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "username": "778acb88-5e29-4bfd-a576-d3acf4401232", "universalId": "id=778acb88-5e29-4bfd-a576-d3acf4401232,ou=user,ou=am-config", "realm": "/", "latestAccessTime": "2023-05-18T19:36:27Z", "maxIdleExpirationTime": "2023-05-18T20:06:27Z", "maxSessionExpirationTime": "2023-05-18T21:36:26Z", "properties": { "AMCtxId": "3101ee86-4cd9-4d47-bc4c-29671e1e75e1-4831" } } Obtain Oauth2 authz code via REST Oauth2 authorize for access token [http_cmd]: curl -H "Content-Type: application/x-www-form-urlencoded" -X POST --cookie "amlbcookie=01" --cookie "iPlanetDirectoryPro=4SfIp_HmH6x6EmMpSGTAtv26S6U.*AAJTSQACMDIAAlNLABxFd282alFIY0xnNFNsTHNGY3Q5ajEwbTltWkU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1684438587.34.130323.857373|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "4SfIp_HmH6x6EmMpSGTAtv26S6U.*AAJTSQACMDIAAlNLABxFd282alFIY0xnNFNsTHNGY3Q5ajEwbTltWkU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 18 May 2023 19:36: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=8llUhNeFIfcF8YjnbQt6SZpCLWU&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': '28fc8b0c42ff878dc34942bd3d8f8cec'} Oauth2 exchange authorize code for access token [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": "8llUhNeFIfcF8YjnbQt6SZpCLWU"}' "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": "1HYaAQYtLXtV5Jq0l1cNgoPS6eA", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer 1HYaAQYtLXtV5Jq0l1cNgoPS6eA" -H "Content-Type: application/json" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/778acb88-5e29-4bfd-a576-d3acf4401232" [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": "778acb88-5e29-4bfd-a576-d3acf4401232", "_rev": "2ca7b32c-3ee1-46ad-9e59-78142669f2d2-10003863", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230518164454@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230518164454", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [18/May/2023 19:36:28] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibnNwdGNmZXI4dGdhajVlbWo4OWZpNHIyNmciLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9WRTFxVlRKSmFYZHBXVmQ0YmtscWIybGFSMng1U1c0d0xpNTVTSGxsVFVaaFFWTlVkM0JuV0dWM1NUUkdZV2wzTGpSalNVUkhUbVZ0UW5wb1QydzRiVFZWVERseGJrOU5iRVJJUjNsVlpXTnpSa2MxVUhWR1UxSnNjMFpuTWtsU01XWTVORlEwVldzd2FVUTVXRkZqWlhRdFNYRXhURGRFYm1OdlJVaDBVM0V0T1VsaU5uTnhkMEZGYUdsQk4yNTRSRTlMUkRsUFVFZ3RSbVpUU1ZadFZIQkxkSEp2TjAxTlJrbHNiR2hTVW1aUWJXdE5NV05STVhkcWVrRlhTalZHVnpKUFpUQnFkVTFXVjJsNE5XMUZRM1IzY25kMk1WaHJWelZoUTFKUFgwSTRVMmt4WlVKdWFYSlJSRWxzYkMxWk1FMHlUMU5PWXpVMmRsQmhSMWhsWkU5WE4xWlZPRzVuUXpOSFQzUklkMVphZDNSbGRWTmxlVGwxTWpGbmFtNHhZV05NZFZVNVJrMUdRVkJYWW1STFVUZGZjVzF0TkdOck5FWjVkbkJuWmsxd1dYcFpOVFpXU21wUGVFeHBTVFEzY0RkUmNrYzBXa2hNWjNaWFdHSjRVa1p3VWprM1pGcHZkbE54VEU5emN5MUdiM1ZRYkU5c05Hc3RTVkJwYVVKTWRVeGtXVkpyYlRkNU5UUjVRVkpxVldOVmMzTmpPR0oxY2tSaFVVcHNhRXBFU2xoTU1qQnJZVVZsZVV0RVJWcFZkVk5NT1VaUFZUaEhlRzEyTUU1MmVXOURjamRaUlZKVVJsVmFPWFJzY1VJeVZGcFZZVGx3U1VkbU5HUkNRbUl3Vm5BdFZYWjVZbXBITlhoNGNrWmhRa2htTVZCQk5EaDBaWEJ0V2xaYWIxcG5jbUV3YWtWc05YVmpXR0V3U0cxbFRVRnBVRE56ZUZwNU5WOHlkbTh5ZGtwU1VGZGFkbE5YV1RSS2VGUnNWbkpsVUdoaWQybHNkbXRIYlcxNVRtbEdhQzA0U2xSUU9EUlhTR2swUlUxdWFGaFZia016YkRWS1owNW1WM1JSTmsxU04zaEtVMjlUTW5CbGNGUnNTbE4yTlhWdVVYSjFMVnBMZFdobmMwbExTRk16Y0dsYU5tTjNTMWxSY1VwYWVIa3dPSFpxVWtkWFJGVTNTMWM1UzFoUE1pMVJWR2Q1UkZkNGMwbERiR3BtWmpkNlUwNWtjbUZJZFdOc05HOUNVelF4TVRRMmFXRkpVR05xWDNCdGVHVlRTRGwxVUV4TVRGVk5VbE5qTG5keVVWbzBhREp6TUd0blNUUXlWMTlUVW5scGRFRS55SWtGRjVWUzBlWmRDWUNpQ0UyZVJ3MUl0NnhTUFc2V0JLTXZiRmZEbDJVIiwiZXhwIjoxNjg0NDM4ODg5LCJpYXQiOjE2ODQ0Mzg1ODl9.R8XcZtrLvUfpj_aSNM3YCneJncms5YMfeTBAodAAXTE", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibnNwdGNmZXI4dGdhajVlbWo4OWZpNHIyNmciLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9WRTFxVlRKSmFYZHBXVmQ0YmtscWIybGFSMng1U1c0d0xpNTVTSGxsVFVaaFFWTlVkM0JuV0dWM1NUUkdZV2wzTGpSalNVUkhUbVZ0UW5wb1QydzRiVFZWVERseGJrOU5iRVJJUjNsVlpXTnpSa2MxVUhWR1UxSnNjMFpuTWtsU01XWTVORlEwVldzd2FVUTVXRkZqWlhRdFNYRXhURGRFYm1OdlJVaDBVM0V0T1VsaU5uTnhkMEZGYUdsQk4yNTRSRTlMUkRsUFVFZ3RSbVpUU1ZadFZIQkxkSEp2TjAxTlJrbHNiR2hTVW1aUWJXdE5NV05STVhkcWVrRlhTalZHVnpKUFpUQnFkVTFXVjJsNE5XMUZRM1IzY25kMk1WaHJWelZoUTFKUFgwSTRVMmt4WlVKdWFYSlJSRWxzYkMxWk1FMHlUMU5PWXpVMmRsQmhSMWhsWkU5WE4xWlZPRzVuUXpOSFQzUklkMVphZDNSbGRWTmxlVGwxTWpGbmFtNHhZV05NZFZVNVJrMUdRVkJYWW1STFVUZGZjVzF0TkdOck5FWjVkbkJuWmsxd1dYcFpOVFpXU21wUGVFeHBTVFEzY0RkUmNrYzBXa2hNWjNaWFdHSjRVa1p3VWprM1pGcHZkbE54VEU5emN5MUdiM1ZRYkU5c05Hc3RTVkJwYVVKTWRVeGtXVkpyYlRkNU5UUjVRVkpxVldOVmMzTmpPR0oxY2tSaFVVcHNhRXBFU2xoTU1qQnJZVVZsZVV0RVJWcFZkVk5NT1VaUFZUaEhlRzEyTUU1MmVXOURjamRaUlZKVVJsVmFPWFJzY1VJeVZGcFZZVGx3U1VkbU5HUkNRbUl3Vm5BdFZYWjVZbXBITlhoNGNrWmhRa2htTVZCQk5EaDBaWEJ0V2xaYWIxcG5jbUV3YWtWc05YVmpXR0V3U0cxbFRVRnBVRE56ZUZwNU5WOHlkbTh5ZGtwU1VGZGFkbE5YV1RSS2VGUnNWbkpsVUdoaWQybHNkbXRIYlcxNVRtbEdhQzA0U2xSUU9EUlhTR2swUlUxdWFGaFZia016YkRWS1owNW1WM1JSTmsxU04zaEtVMjlUTW5CbGNGUnNTbE4yTlhWdVVYSjFMVnBMZFdobmMwbExTRk16Y0dsYU5tTjNTMWxSY1VwYWVIa3dPSFpxVWtkWFJGVTNTMWM1UzFoUE1pMVJWR2Q1UkZkNGMwbERiR3BtWmpkNlUwNWtjbUZJZFdOc05HOUNVelF4TVRRMmFXRkpVR05xWDNCdGVHVlRTRGwxVUV4TVRGVk5VbE5qTG5keVVWbzBhREp6TUd0blNUUXlWMTlUVW5scGRFRS55SWtGRjVWUzBlWmRDWUNpQ0UyZVJ3MUl0NnhTUFc2V0JLTXZiRmZEbDJVIiwiZXhwIjoxNjg0NDM4ODg5LCJpYXQiOjE2ODQ0Mzg1ODl9.R8XcZtrLvUfpj_aSNM3YCneJncms5YMfeTBAodAAXTE", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230518164454"}], "_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": "vHn4n-Js2TemlO5_hdGKGD3VFwc.*AAJTSQACMDIAAlNLABxnWVJLRFhSOWdkektRODB2dEMrNXNGam1jRE09AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [18/May/2023 19:36:29] Validation_user_idm step4 : Make sure we can delete the user ________________________________________________________________________________ [LoginSession] Get "access_token" token for user "amadmin" [LoginSession] re-using "access_token" token that remains valid for 59m 45s [http_cmd]: curl -H "Authorization: Bearer Gh7DFT1GSBb7D1CMz32eA0Ca-K8" -H "Content-Type: application/json" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/778acb88-5e29-4bfd-a576-d3acf4401232" [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": "778acb88-5e29-4bfd-a576-d3acf4401232", "_rev": "2ca7b32c-3ee1-46ad-9e59-78142669f2d2-10003863", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230518164454@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230518164454", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [18/May/2023 19:36:30] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped