--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/Apr/2023 23:29:30] Validation_user_idm pre : N/A ________________________________________________________________________________ [18/Apr/2023 23:29:30] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [18/Apr/2023 23:29:30] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [18/Apr/2023 23:29:30] 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: TeYGGHuU6szSkTAaUKbBKP5M" -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": "avS-AJvxDRB8qxIOeJbCnitkpmo.*AAJTSQACMDIAAlNLABxvaEhoY1RIaTB5V04vNE9UaFlVVVVwelR5ZDA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=avS-AJvxDRB8qxIOeJbCnitkpmo.*AAJTSQACMDIAAlNLABxvaEhoY1RIaTB5V04vNE9UaFlVVVVwelR5ZDA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681860571.366.184310.773202|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "avS-AJvxDRB8qxIOeJbCnitkpmo.*AAJTSQACMDIAAlNLABxvaEhoY1RIaTB5V04vNE9UaFlVVVVwelR5ZDA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Tue, 18 Apr 2023 23:29:30 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=h-zdyYbhqNjWhWWxK43vjAC8ss8&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': '47f7f524351791dab8183fd790643694'} 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": "h-zdyYbhqNjWhWWxK43vjAC8ss8"}' "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": "X3x9EEh79cn5e98MDbaq9HB2bSw", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer X3x9EEh79cn5e98MDbaq9HB2bSw" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230418225059", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230418225059@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": "8549fc12-6396-4423-b1a0-7a043899e7a6", "_rev": "f0be9174-b1ec-4d36-9e51-9f9818b3c043-474", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230418225059@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230418225059", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [18/Apr/2023 23:29:31] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230418225059 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230418225059" -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": "zg4o49H6AJ8AuLKdCFZPWxy4MVI.*AAJTSQACMDIAAlNLABxiQzd4UFJjbDFkVWVzbG96d2I3Nmg3OWNLZTQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=zg4o49H6AJ8AuLKdCFZPWxy4MVI.*AAJTSQACMDIAAlNLABxiQzd4UFJjbDFkVWVzbG96d2I3Nmg3OWNLZTQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681860573.155.184454.648834|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "zg4o49H6AJ8AuLKdCFZPWxy4MVI.*AAJTSQACMDIAAlNLABxiQzd4UFJjbDFkVWVzbG96d2I3Nmg3OWNLZTQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Tue, 18 Apr 2023 23:29:32 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=URzI-1kO-PEH9kNgn3S3gz3ubSw&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': '9905baa3e4d899814b51d4e3a565a262'} 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": "URzI-1kO-PEH9kNgn3S3gz3ubSw"}' "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": "of3pKAK7UuqIQPG9CmFAd6RNTOg", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer of3pKAK7UuqIQPG9CmFAd6RNTOg" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/8549fc12-6396-4423-b1a0-7a043899e7a6" [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": "8549fc12-6396-4423-b1a0-7a043899e7a6", "_rev": "f0be9174-b1ec-4d36-9e51-9f9818b3c043-474", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230418225059@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230418225059", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [18/Apr/2023 23:29:33] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiZjR0ZmdjZmpuNDlla2pvZDMybTVwbDc5c3YiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSY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uTkRVRFJvWWsxSVNrVkpSVkppUlhSdmRrRnVXaTB6UkRKYVltbG1RVTQ0TmsxVFFsZDZSelZ5WVdrd1REQllZelZKTFZKUlRtMWtiMUpWWWtveGJHZGFkMlpDVDJoSlFrdDZVa001ZDFCU1JrVnVhRmR6WTBaSlJYbFdjM000UXpGb1QyRTBURmQyVmxFNFlscHZWbW81Y2xCdlMwdzNSME5yWTNGblEybE9PRTVxYm1kSFJEQktUSFZNUmxRMVRYWmtTVkpxTUhaWE5HaGhVMEl0VUVsNWFtbE9UWEZuTGpGMGNta3djVGxsVGtkbWVGSlhZM1IxWTFoblMyYy4tU3JZZ1NRb1R3VFFxOXZ5MUo1R09QeWhvVV9PQTFXQVlZV3NnQ0F6Z25jIiwiZXhwIjoxNjgxODYwODc0LCJpYXQiOjE2ODE4NjA1NzR9.BwtXgNw0aiTPm1x8ABAW3lSO5vG9wAJ0ArPiNFxoH9k", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiZjR0ZmdjZmpuNDlla2pvZDMybTVwbDc5c3YiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMV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ppUlhSdmRrRnVXaTB6UkRKYVltbG1RVTQ0TmsxVFFsZDZSelZ5WVdrd1REQllZelZKTFZKUlRtMWtiMUpWWWtveGJHZGFkMlpDVDJoSlFrdDZVa001ZDFCU1JrVnVhRmR6WTBaSlJYbFdjM000UXpGb1QyRTBURmQyVmxFNFlscHZWbW81Y2xCdlMwdzNSME5yWTNGblEybE9PRTVxYm1kSFJEQktUSFZNUmxRMVRYWmtTVkpxTUhaWE5HaGhVMEl0VUVsNWFtbE9UWEZuTGpGMGNta3djVGxsVGtkbWVGSlhZM1IxWTFoblMyYy4tU3JZZ1NRb1R3VFFxOXZ5MUo1R09QeWhvVV9PQTFXQVlZV3NnQ0F6Z25jIiwiZXhwIjoxNjgxODYwODc0LCJpYXQiOjE2ODE4NjA1NzR9.BwtXgNw0aiTPm1x8ABAW3lSO5vG9wAJ0ArPiNFxoH9k", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230418225059"}], "_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": "hKcAxmExGjflrp4s2oc84fJZ7ao.*AAJTSQACMDIAAlNLABx6cnpIK0Rpa1pNQWhLRG1ETk42TDRXeXNQS1U9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [18/Apr/2023 23:29:35] 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: TeYGGHuU6szSkTAaUKbBKP5M" -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": "KOH8mThmSV52HC-oeFvlmgw9ET8.*AAJTSQACMDIAAlNLABxlMU5QcWVnSUJha25XRjA0b1YvemYwSXRqbW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=KOH8mThmSV52HC-oeFvlmgw9ET8.*AAJTSQACMDIAAlNLABxlMU5QcWVnSUJha25XRjA0b1YvemYwSXRqbW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681860577.161.184502.566906|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "KOH8mThmSV52HC-oeFvlmgw9ET8.*AAJTSQACMDIAAlNLABxlMU5QcWVnSUJha25XRjA0b1YvemYwSXRqbW89AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Tue, 18 Apr 2023 23:29:36 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=Uzd0a62M8aI2yIy2493rMcZ0aHw&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': '9d5574c760a25e6d1f414abb091d6675'} 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": "Uzd0a62M8aI2yIy2493rMcZ0aHw"}' "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": "j_a648cyHoVRX2GrFn5cgUNN-Qc", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer j_a648cyHoVRX2GrFn5cgUNN-Qc" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/8549fc12-6396-4423-b1a0-7a043899e7a6" [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": "8549fc12-6396-4423-b1a0-7a043899e7a6", "_rev": "f0be9174-b1ec-4d36-9e51-9f9818b3c043-474", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230418225059@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230418225059", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [18/Apr/2023 23:29:37] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped