--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 ________________________________________________________________________________ [02/May/2023 05:20:51] Validation_user_idm pre : N/A ________________________________________________________________________________ [02/May/2023 05:20:51] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [02/May/2023 05:20:51] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [02/May/2023 05:20:51] 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: GKP9UFM8kjIBw9km7eyzVevH" -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": "4IvnMFfcHHjPutNnUna29G_0VJk.*AAJTSQACMDIAAlNLABxSVWRvbm9ETWtiYjNzVkt2cTVwUGFIbkE4ZkE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=4IvnMFfcHHjPutNnUna29G_0VJk.*AAJTSQACMDIAAlNLABxSVWRvbm9ETWtiYjNzVkt2cTVwUGFIbkE4ZkE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1683004852.691.357075.899003|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "4IvnMFfcHHjPutNnUna29G_0VJk.*AAJTSQACMDIAAlNLABxSVWRvbm9ETWtiYjNzVkt2cTVwUGFIbkE4ZkE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 02 May 2023 05:20:52 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=mThMkrD1vtpmb2fgBHtKkUwLcBs&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': 'dfdcedf9b0d4a7037611d7dc10e54e3c'} 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": "mThMkrD1vtpmb2fgBHtKkUwLcBs"}' "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": "7AGfjTw55EJtM9JviAfi21BwG-A", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer 7AGfjTw55EJtM9JviAfi21BwG-A" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230502044056", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230502044056@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": "4582e58f-109a-4d85-880c-e530eb89ea70", "_rev": "29c720fc-076f-4762-a3ed-9aad15f061cb-502", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230502044056@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230502044056", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [02/May/2023 05:20:53] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230502044056 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230502044056" -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": "9Z3GwITwQlh1M0Tt29j8QsAgDPE.*AAJTSQACMDIAAlNLABxsS0lZQVlUNDdQdFR4cEJNVzFTaHB1RDF5MmM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=9Z3GwITwQlh1M0Tt29j8QsAgDPE.*AAJTSQACMDIAAlNLABxsS0lZQVlUNDdQdFR4cEJNVzFTaHB1RDF5MmM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1683004855.058.356880.668089|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "9Z3GwITwQlh1M0Tt29j8QsAgDPE.*AAJTSQACMDIAAlNLABxsS0lZQVlUNDdQdFR4cEJNVzFTaHB1RDF5MmM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 02 May 2023 05:20:54 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=S7EZgIapaoOk7g2TNVRzTiCxMV4&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': '8a204f28daf2b03c97ebd597371f077b'} 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": "S7EZgIapaoOk7g2TNVRzTiCxMV4"}' "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": "e1cUPA5rhfw4cKJNh--8t6NHsLg", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer e1cUPA5rhfw4cKJNh--8t6NHsLg" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/4582e58f-109a-4d85-880c-e530eb89ea70" [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": "4582e58f-109a-4d85-880c-e530eb89ea70", "_rev": "29c720fc-076f-4762-a3ed-9aad15f061cb-502", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230502044056@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230502044056", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [02/May/2023 05:20:55] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoic2xyN3JibW1yajU4YnIwdXJ0YzBtcG5nOGkiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJ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bG1SVTFCYzNCRWJIUlJSbGhWYWxkT2MxQnphVnBYVldoVGJGTjRYMEZZTVRsWldXUmhlVFJqYzFKS2MySXpkazlaVkdseFJqQm9iVTFZUzJoVmRYVldRUzFqZVdseE0xaGpNMFJDV1VGUlEyMWxTbXBuWVdkUFdXd3pYekZqWkdkU2NqSlpjbWt6YkRGSVdXTnNiRk5FU1d4R2VWQk1lVTh6YjFOWWJtMWlhSGxKTUVWUllVaGFUV2RmVm10NlJFeGhhbFV0Y0dvMGMyd3lkMHhOTG05WlUzUXliMUJoUlZKaVFuSnRPRTB3Ym1SRmRVRS5pdldTUFA3R3FHYXowTDJFdUlpbndSejBHWDBaendnM1BhOVE2T1NYaWwwIiwiZXhwIjoxNjgzMDA1MTU2LCJpYXQiOjE2ODMwMDQ4NTZ9.pU4608EjN-x4XwTJn6jdTDTaQXU71gG_IVU2UtlCtq8", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoic2xyN3JibW1yajU4YnIwdXJ0YzBtcG5nOGkiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9WRT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kT2MxQnphVnBYVldoVGJGTjRYMEZZTVRsWldXUmhlVFJqYzFKS2MySXpkazlaVkdseFJqQm9iVTFZUzJoVmRYVldRUzFqZVdseE0xaGpNMFJDV1VGUlEyMWxTbXBuWVdkUFdXd3pYekZqWkdkU2NqSlpjbWt6YkRGSVdXTnNiRk5FU1d4R2VWQk1lVTh6YjFOWWJtMWlhSGxKTUVWUllVaGFUV2RmVm10NlJFeGhhbFV0Y0dvMGMyd3lkMHhOTG05WlUzUXliMUJoUlZKaVFuSnRPRTB3Ym1SRmRVRS5pdldTUFA3R3FHYXowTDJFdUlpbndSejBHWDBaendnM1BhOVE2T1NYaWwwIiwiZXhwIjoxNjgzMDA1MTU2LCJpYXQiOjE2ODMwMDQ4NTZ9.pU4608EjN-x4XwTJn6jdTDTaQXU71gG_IVU2UtlCtq8", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230502044056"}], "_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": "1NM1Pf7nuJRQiE3OMX18Fk3xaD0.*AAJTSQACMDIAAlNLABx1ZFF2TkpNNi9UWVRPaFl2S25FYUM4K3o2T009AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [02/May/2023 05:20:57] 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: GKP9UFM8kjIBw9km7eyzVevH" -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": "dGAOJiYiXec-bjaHv4fwWxPWNuA.*AAJTSQACMDIAAlNLABxCUURGODUyZEVLZ01lS09qR0ErOTFOa0ZwSlE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=dGAOJiYiXec-bjaHv4fwWxPWNuA.*AAJTSQACMDIAAlNLABxCUURGODUyZEVLZ01lS09qR0ErOTFOa0ZwSlE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1683004858.618.356880.934239|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "dGAOJiYiXec-bjaHv4fwWxPWNuA.*AAJTSQACMDIAAlNLABxCUURGODUyZEVLZ01lS09qR0ErOTFOa0ZwSlE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 02 May 2023 05:20:58 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=f7uoT6USubNovXnlTQ4szbUeBD0&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': '49d28e93ab511bdd2a7d7b9f908a5ba0'} 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": "f7uoT6USubNovXnlTQ4szbUeBD0"}' "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": "aW7OgdJMjWtxP4HsHd8i01noDwE", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer aW7OgdJMjWtxP4HsHd8i01noDwE" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/4582e58f-109a-4d85-880c-e530eb89ea70" [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": "4582e58f-109a-4d85-880c-e530eb89ea70", "_rev": "29c720fc-076f-4762-a3ed-9aad15f061cb-502", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230502044056@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230502044056", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [02/May/2023 05:20:58] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped