--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 ________________________________________________________________________________ [04/Apr/2023 22:32:19] Validation_user_idm pre : N/A ________________________________________________________________________________ [04/Apr/2023 22:32:19] - INFO: Timeout for this Task has changed to 8h (28800 seconds) [04/Apr/2023 22:32:19] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [04/Apr/2023 22:32:19] 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: mgT0vEdQh58FTmJ2xwE4DVIb" -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": "yVYDBjcgkdOrWunz7lk7e3YndQI.*AAJTSQACMDIAAlNLABxPWnRWM0dtM3NBTit5QXh2SVZiVXBCaDRYTUU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=yVYDBjcgkdOrWunz7lk7e3YndQI.*AAJTSQACMDIAAlNLABxPWnRWM0dtM3NBTit5QXh2SVZiVXBCaDRYTUU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680647540.929.4034.370613|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "yVYDBjcgkdOrWunz7lk7e3YndQI.*AAJTSQACMDIAAlNLABxPWnRWM0dtM3NBTit5QXh2SVZiVXBCaDRYTUU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 04 Apr 2023 22:32:20 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=rE8Xq3UMbHvGY1OJpSpWuK60l64&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': 'e75cad1025a5c98102d568632d48b683'} 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": "rE8Xq3UMbHvGY1OJpSpWuK60l64"}' "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": "_cPn9nqM2V6ki2xoggIY1lBWscw", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer _cPn9nqM2V6ki2xoggIY1lBWscw" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230404215644", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230404215644@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": "ef654f0f-534a-4d5a-8194-9289d0e55ff3", "_rev": "5b7590b6-4df1-4fee-a7ac-7152d7869fda-4000705", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230404215644@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230404215644", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [04/Apr/2023 22:32:20] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230404215644 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230404215644" -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": "PGun7jNxmQnWi6mOpaqzrkDHeRo.*AAJTSQACMDIAAlNLABxNR05kdEV5UEJRSlpCSjA2bkt0dHFobnQ2WTA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=PGun7jNxmQnWi6mOpaqzrkDHeRo.*AAJTSQACMDIAAlNLABxNR05kdEV5UEJRSlpCSjA2bkt0dHFobnQ2WTA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680647541.874.3901.405580|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "PGun7jNxmQnWi6mOpaqzrkDHeRo.*AAJTSQACMDIAAlNLABxNR05kdEV5UEJRSlpCSjA2bkt0dHFobnQ2WTA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 04 Apr 2023 22:32:21 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=x6xQ5jNIp9kHZxToD25OqOPd-fw&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': 'ae24024a4d3eecaa4c2284b542260241'} 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": "x6xQ5jNIp9kHZxToD25OqOPd-fw"}' "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": "fw0KwnnU3gPNcP2HH3HZjFitvwk", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer fw0KwnnU3gPNcP2HH3HZjFitvwk" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/ef654f0f-534a-4d5a-8194-9289d0e55ff3" [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": "ef654f0f-534a-4d5a-8194-9289d0e55ff3", "_rev": "5b7590b6-4df1-4fee-a7ac-7152d7869fda-4000705", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230404215644@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230404215644", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [04/Apr/2023 22:32:21] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibDRmb3F1NnBsNm9ha3UzbzhyajI2cTJwOGUiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcEx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kU1M2NXVk1VVjlGVTFsUmFuUnNORWs1WkRVelptOWxOVEJ4ZGxBNVgwdDJMVlppU0Zob05tOVRkVVV6Y1dOUU5ITk1XRVY0VGsxa2FISlZkbEZHYmxwdVVIUXlXVnBTYzFkMFkwMW9jemhGVWw5NlgwZDVTbXBsWDFrM1VXeFljRVprTmsxaU5WOURURlpHUlVSeVpWRnRWSGswZDNOSWEyRnJMV3M0Y3pKMVJIZFhaekowWmpGbGJHZGFWRXRJWWtwUFpGcERRbTlhVWt0Rk4wMWlOVTlSTGpsNmRWaDRXVlE1Wkc4eVREZGxXVjlrYzFCS1EwRS5pdml4NWExU2lwU0QxWWhEelZrTWFsSmVNWjExUlQtQlg4VlFHUG4zYU1BIiwiZXhwIjoxNjgwNjQ3ODQyLCJpYXQiOjE2ODA2NDc1NDJ9.OF22K3cdOAqPYRuc10IbcKLWfMfGMwAYdgPCpRm2Btk", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibDRmb3F1NnBsNm9ha3UzbzhyajI2cTJwOGUiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUV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WxOVEJ4ZGxBNVgwdDJMVlppU0Zob05tOVRkVVV6Y1dOUU5ITk1XRVY0VGsxa2FISlZkbEZHYmxwdVVIUXlXVnBTYzFkMFkwMW9jemhGVWw5NlgwZDVTbXBsWDFrM1VXeFljRVprTmsxaU5WOURURlpHUlVSeVpWRnRWSGswZDNOSWEyRnJMV3M0Y3pKMVJIZFhaekowWmpGbGJHZGFWRXRJWWtwUFpGcERRbTlhVWt0Rk4wMWlOVTlSTGpsNmRWaDRXVlE1Wkc4eVREZGxXVjlrYzFCS1EwRS5pdml4NWExU2lwU0QxWWhEelZrTWFsSmVNWjExUlQtQlg4VlFHUG4zYU1BIiwiZXhwIjoxNjgwNjQ3ODQyLCJpYXQiOjE2ODA2NDc1NDJ9.OF22K3cdOAqPYRuc10IbcKLWfMfGMwAYdgPCpRm2Btk", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230404215644"}], "_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": "9tBIhS89KYCuldqRWKmYZJoiYh0.*AAJTSQACMDIAAlNLABxKQjhGaUFLWmpsd0VzbEJ6WWRWRVZ0bmlvS3M9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [04/Apr/2023 22:32:23] 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: mgT0vEdQh58FTmJ2xwE4DVIb" -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": "4f4FUwjQ6I6hq3zl-nQ6e6kjIB4.*AAJTSQACMDIAAlNLABw2elE1TlFWRWVtNGxSQ3d5eXBHM0M1M0tyMFU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=4f4FUwjQ6I6hq3zl-nQ6e6kjIB4.*AAJTSQACMDIAAlNLABw2elE1TlFWRWVtNGxSQ3d5eXBHM0M1M0tyMFU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680647544.799.3768.312207|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "4f4FUwjQ6I6hq3zl-nQ6e6kjIB4.*AAJTSQACMDIAAlNLABw2elE1TlFWRWVtNGxSQ3d5eXBHM0M1M0tyMFU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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, 04 Apr 2023 22:32:24 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=sREJIqyNZsopNj1XGSDjx66igt4&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': 'a7de8e98e50ce6ff32447e8156008d20'} 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": "sREJIqyNZsopNj1XGSDjx66igt4"}' "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": "ghmSsN6G8BnOmC9riIK7v9K3S2g", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer ghmSsN6G8BnOmC9riIK7v9K3S2g" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/ef654f0f-534a-4d5a-8194-9289d0e55ff3" [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": "ef654f0f-534a-4d5a-8194-9289d0e55ff3", "_rev": "5b7590b6-4df1-4fee-a7ac-7152d7869fda-4000705", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230404215644@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230404215644", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [04/Apr/2023 22:32:24] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped