--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 ________________________________________________________________________________ [03/May/2023 04:19:29] Validation_user_idm pre : N/A ________________________________________________________________________________ [03/May/2023 04:19:29] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [03/May/2023 04:19:29] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [03/May/2023 04:19:29] 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: WoLQ1CTZbW2CsPPvFiOD3Uv6" -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": "eibwakhKf6lm6nG93CAXFDv3pe0.*AAJTSQACMDIAAlNLABw5S1NGODZlMnhTbEJUNkRrRHg0UnA1Nk1Sb289AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=eibwakhKf6lm6nG93CAXFDv3pe0.*AAJTSQACMDIAAlNLABw5S1NGODZlMnhTbEJUNkRrRHg0UnA1Nk1Sb289AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1683087570.823.390866.839417|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "eibwakhKf6lm6nG93CAXFDv3pe0.*AAJTSQACMDIAAlNLABw5S1NGODZlMnhTbEJUNkRrRHg0UnA1Nk1Sb289AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 03 May 2023 04:19: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=KPiAzDzIvVLcpcQXH7md-QnSIZ8&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': '88bf5d7c1b410f9e4b6b33c586e35871'} 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": "KPiAzDzIvVLcpcQXH7md-QnSIZ8"}' "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": "-T67G3HnbnJzQ7DOd6KzkL7f3M0", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer -T67G3HnbnJzQ7DOd6KzkL7f3M0" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230503034054", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230503034054@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": "542d0121-0f0a-4fa1-847a-f635fb442cf2", "_rev": "6e09c46d-490d-48e9-ae51-25bb076c39f9-480", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230503034054@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230503034054", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [03/May/2023 04:19:31] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230503034054 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230503034054" -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": "SbCxphUOence9bAqjP09AapS--A.*AAJTSQACMDIAAlNLABwrMklsZzN6a3cvblhJSk55RGZ6RWlwcXRnYTA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=SbCxphUOence9bAqjP09AapS--A.*AAJTSQACMDIAAlNLABwrMklsZzN6a3cvblhJSk55RGZ6RWlwcXRnYTA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1683087573.104.390866.685805|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "SbCxphUOence9bAqjP09AapS--A.*AAJTSQACMDIAAlNLABwrMklsZzN6a3cvblhJSk55RGZ6RWlwcXRnYTA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 03 May 2023 04:19: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=MoZWPLHQPXHZBhqq46yUVU3xMew&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': 'b0f229c50404d4f569f5edca1883aafe'} 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": "MoZWPLHQPXHZBhqq46yUVU3xMew"}' "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": "x_1hiOkp06HCLzb7BtQHwZf5aV8", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer x_1hiOkp06HCLzb7BtQHwZf5aV8" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/542d0121-0f0a-4fa1-847a-f635fb442cf2" [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": "542d0121-0f0a-4fa1-847a-f635fb442cf2", "_rev": "6e09c46d-490d-48e9-ae51-25bb076c39f9-480", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230503034054@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230503034054", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [03/May/2023 04:19: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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiNXBjYTMxODcwaGhyOWFiMDJyNGoyYWFjM2EiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVw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NelYzTm5KalVFVlVhR05LZUVKcGEzVnBWRk10ZGxGbFUxUlZkVkJqTkhWVlZrWjFTekpXTTA1SVFYcENlQzFQZWpFeGIzcFRaM2huVDBKSmExWnhkV0pqYjAxdGR6VnhOMjFGV1RackxXbDJPRTlXVFhsVGVEaHFkbTFuTUcxQ1pHUXphV2xZT0ZsVFpsWXlPVXB0Y0UxNFZGZGpiVnBxVG5OcWRVRkRZa2szY0d4MGRIZEpXRXB5VVhrNE5WTTJNR1k0TGtSME1XWTNVV1ZDVW5oaE9IRm9Ta2RtZG5RNFJuYy4zZmEwdGxlSzZ2M1Q3LUNfdk1qU01mT29DeHdjblhyWUtHT0pxUkg2Sy1nIiwiZXhwIjoxNjgzMDg3ODc0LCJpYXQiOjE2ODMwODc1NzR9.iZrqarAss_oO1mI4s56PSTJfjjnZuLnlioxD74iXkb0", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiNXBjYTMxODcwaGhyOWFiMDJyNGoyYWFjM2EiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9WRTFxVlRKSmFYZHB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GEzVnBWRk10ZGxGbFUxUlZkVkJqTkhWVlZrWjFTekpXTTA1SVFYcENlQzFQZWpFeGIzcFRaM2huVDBKSmExWnhkV0pqYjAxdGR6VnhOMjFGV1RackxXbDJPRTlXVFhsVGVEaHFkbTFuTUcxQ1pHUXphV2xZT0ZsVFpsWXlPVXB0Y0UxNFZGZGpiVnBxVG5OcWRVRkRZa2szY0d4MGRIZEpXRXB5VVhrNE5WTTJNR1k0TGtSME1XWTNVV1ZDVW5oaE9IRm9Ta2RtZG5RNFJuYy4zZmEwdGxlSzZ2M1Q3LUNfdk1qU01mT29DeHdjblhyWUtHT0pxUkg2Sy1nIiwiZXhwIjoxNjgzMDg3ODc0LCJpYXQiOjE2ODMwODc1NzR9.iZrqarAss_oO1mI4s56PSTJfjjnZuLnlioxD74iXkb0", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230503034054"}], "_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": "lwHZ6rKvstroJjXyZCWoKv7LGsY.*AAJTSQACMDIAAlNLABxHMW5xSGs5QkwrSk8zMVloTnNMa2wvTWVRbVE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [03/May/2023 04:19:36] 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: WoLQ1CTZbW2CsPPvFiOD3Uv6" -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": "N_I9W9YMcR0iZ3kUWymmqxitskE.*AAJTSQACMDIAAlNLABxCSi9UY2o1bTRpMXFnSFRUZUhEQXdRUFdTTWc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=N_I9W9YMcR0iZ3kUWymmqxitskE.*AAJTSQACMDIAAlNLABxCSi9UY2o1bTRpMXFnSFRUZUhEQXdRUFdTTWc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1683087577.466.390864.240678|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "N_I9W9YMcR0iZ3kUWymmqxitskE.*AAJTSQACMDIAAlNLABxCSi9UY2o1bTRpMXFnSFRUZUhEQXdRUFdTTWc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 03 May 2023 04:19: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=b6XaM-I2y-ReCK8SqgqhIamxeFc&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': '78182acd3eae361dc2ce31bf0a9e9031'} 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": "b6XaM-I2y-ReCK8SqgqhIamxeFc"}' "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": "UO6n8P5sWw_HTE0kYUsUsezxpbY", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer UO6n8P5sWw_HTE0kYUsUsezxpbY" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/542d0121-0f0a-4fa1-847a-f635fb442cf2" [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": "542d0121-0f0a-4fa1-847a-f635fb442cf2", "_rev": "6e09c46d-490d-48e9-ae51-25bb076c39f9-480", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230503034054@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230503034054", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [03/May/2023 04:19:37] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped