--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 ________________________________________________________________________________ [19/Apr/2023 08:44:05] Validation_user_idm pre : N/A ________________________________________________________________________________ [19/Apr/2023 08:44:05] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [19/Apr/2023 08:44:05] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [19/Apr/2023 08:44:05] 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: 7iow8tETq0xKWhK06KLUkYuI" -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": "A_EIMXZzCRowelbJc2zg5Kt5Ijs.*AAJTSQACMDIAAlNLABxYSHpNWUlWeTYyUktXbEhHMkVTOG4yQ2JDM1E9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=A_EIMXZzCRowelbJc2zg5Kt5Ijs.*AAJTSQACMDIAAlNLABxYSHpNWUlWeTYyUktXbEhHMkVTOG4yQ2JDM1E9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681893847.144.203427.229041|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "A_EIMXZzCRowelbJc2zg5Kt5Ijs.*AAJTSQACMDIAAlNLABxYSHpNWUlWeTYyUktXbEhHMkVTOG4yQ2JDM1E9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 19 Apr 2023 08:44:06 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=Ij8ZQ1ItUTNclPshiNQBuXmdZ3s&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': 'fadfa57e037253e23e2e9a870d356316'} 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": "Ij8ZQ1ItUTNclPshiNQBuXmdZ3s"}' "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": "aEE8Y8ABZMfUbScev5mC0LX73Kc", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer aEE8Y8ABZMfUbScev5mC0LX73Kc" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230419080558", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230419080558@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": "dca6a02c-dca7-4859-9475-12bce5bd15b3", "_rev": "2f53eef3-a5b0-4faf-8197-ef3e6395d95e-472", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419080558@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419080558", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 08:44:08] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230419080558 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230419080558" -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": "qOE6gTnAYfI1szd9xzH0a4afuA0.*AAJTSQACMDIAAlNLABwvNWthU001OVpQSVhZUUpBdVFqaS9HeEFHaXc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=qOE6gTnAYfI1szd9xzH0a4afuA0.*AAJTSQACMDIAAlNLABwvNWthU001OVpQSVhZUUpBdVFqaS9HeEFHaXc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681893849.517.203699.119652|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "qOE6gTnAYfI1szd9xzH0a4afuA0.*AAJTSQACMDIAAlNLABwvNWthU001OVpQSVhZUUpBdVFqaS9HeEFHaXc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 19 Apr 2023 08:44:08 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=fGFYBrPzgPDF4NI906KLSGAhgFs&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': 'bed63f671b9bf1e637444b92763bb28f'} 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": "fGFYBrPzgPDF4NI906KLSGAhgFs"}' "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": "rc1SqbrBfEy3vZKwOqY60DRG4ew", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer rc1SqbrBfEy3vZKwOqY60DRG4ew" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/dca6a02c-dca7-4859-9475-12bce5bd15b3" [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": "dca6a02c-dca7-4859-9475-12bce5bd15b3", "_rev": "2f53eef3-a5b0-4faf-8197-ef3e6395d95e-472", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419080558@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419080558", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 08:44:09] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoidmIyMTVzaWlkZjY4OXFkbWVuYzh2bmxxZGYiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVc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Vm5Ralp2VW5wc01FVnNhR1Z6Y3pSc2RVSkJhemhZUTNSeVRHSjBVMDVGYVUxV05VTlpUMjFLZWpWV2EwZzVaSFJPZUZFMlRVOVZRMVpZVjBSRVRWcE1iVFV3VTFwWVNrTnVWM2huUWpoZkxVUlJSWFJ5ZFVaV05XOHRhelpMV0ZvMFJFMTFkVTEwT1c5bE5rWTBNSEJQU0hZd2RISjBOak5GZDFsS1pVNXphWFprWXpkb05FSktORko1YVVSbVIzSjVhMVYyY0Y5T1dFVkdla1puTGxKUVR6QjBVR0V0TkVkelgxUmhlaloxYUdoWmRYYy5BR0NzOXJkcGJmR0ZiUUNSaGNsektDZzh1ZnFjQ2pBbXJzVk9PSFhYUjZrIiwiZXhwIjoxNjgxODk0MTUwLCJpYXQiOjE2ODE4OTM4NTB9.ePgCrnKAMrk9ZHAo3ltdQIxFrfk2HUZEOB8wH7T17Mg", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoidmIyMTVzaWlkZjY4OXFkbWVuYzh2bmxxZGYiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRV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TNSeVRHSjBVMDVGYVUxV05VTlpUMjFLZWpWV2EwZzVaSFJPZUZFMlRVOVZRMVpZVjBSRVRWcE1iVFV3VTFwWVNrTnVWM2huUWpoZkxVUlJSWFJ5ZFVaV05XOHRhelpMV0ZvMFJFMTFkVTEwT1c5bE5rWTBNSEJQU0hZd2RISjBOak5GZDFsS1pVNXphWFprWXpkb05FSktORko1YVVSbVIzSjVhMVYyY0Y5T1dFVkdla1puTGxKUVR6QjBVR0V0TkVkelgxUmhlaloxYUdoWmRYYy5BR0NzOXJkcGJmR0ZiUUNSaGNsektDZzh1ZnFjQ2pBbXJzVk9PSFhYUjZrIiwiZXhwIjoxNjgxODk0MTUwLCJpYXQiOjE2ODE4OTM4NTB9.ePgCrnKAMrk9ZHAo3ltdQIxFrfk2HUZEOB8wH7T17Mg", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230419080558"}], "_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": "IEavJqX67pndiJ2DXGiFXY3aUfM.*AAJTSQACMDIAAlNLABxHM0VHclhkbEpIMTFCbXQ4czZtclRmRGJ5eEk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [19/Apr/2023 08:44:10] 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: 7iow8tETq0xKWhK06KLUkYuI" -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": "u7NZXfSUYxmuKTUrId817v2-RwQ.*AAJTSQACMDIAAlNLABxSM3pVQS9rYUhlUVhoeW42anFyUVAydW10TDA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=u7NZXfSUYxmuKTUrId817v2-RwQ.*AAJTSQACMDIAAlNLABxSM3pVQS9rYUhlUVhoeW42anFyUVAydW10TDA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681893851.847.203743.36407|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "u7NZXfSUYxmuKTUrId817v2-RwQ.*AAJTSQACMDIAAlNLABxSM3pVQS9rYUhlUVhoeW42anFyUVAydW10TDA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 19 Apr 2023 08:44:11 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=sDElJ27ySXsQNNd3Gxdz0VRN83M&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': 'e4f5ccbb28631720bb57fe7e30b7bad6'} 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": "sDElJ27ySXsQNNd3Gxdz0VRN83M"}' "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": "8qAwhg0GpVoATwarg_2iG_qjixc", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer 8qAwhg0GpVoATwarg_2iG_qjixc" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/dca6a02c-dca7-4859-9475-12bce5bd15b3" [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": "dca6a02c-dca7-4859-9475-12bce5bd15b3", "_rev": "2f53eef3-a5b0-4faf-8197-ef3e6395d95e-472", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419080558@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419080558", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 08:44:11] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped