--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 01:30:24] Validation_user_idm pre : N/A ________________________________________________________________________________ [19/Apr/2023 01:30:24] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [19/Apr/2023 01:30:24] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [19/Apr/2023 01:30:24] 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: UfesoVAcJedb4POGcK3NlCP0" -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": "Y60p26QG0fvdD6a8Q1QPSaq9tHQ.*AAJTSQACMDIAAlNLABwwemNnZUZZZXJ3QUdHK0FWeDJQRVZnNTcyQ3M9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=Y60p26QG0fvdD6a8Q1QPSaq9tHQ.*AAJTSQACMDIAAlNLABwwemNnZUZZZXJ3QUdHK0FWeDJQRVZnNTcyQ3M9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681867825.545.189387.618188|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "Y60p26QG0fvdD6a8Q1QPSaq9tHQ.*AAJTSQACMDIAAlNLABwwemNnZUZZZXJ3QUdHK0FWeDJQRVZnNTcyQ3M9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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 01:30: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=JKEHjGAVog3XUCf0lmGc_avenXc&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': '14f8cfb965373f348fa8dca101a08d9a'} 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": "JKEHjGAVog3XUCf0lmGc_avenXc"}' "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": "YqJANbbxawerV8RNcnRGBRt7lIU", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer YqJANbbxawerV8RNcnRGBRt7lIU" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230419005221", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230419005221@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": "9d7f8d67-b899-4e09-a3da-7394f112eb46", "_rev": "9c6e34aa-56ae-450a-bb31-d8a440493e34-478", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419005221@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419005221", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 01:30:26] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230419005221 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230419005221" -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": "SE4Y6IJ1DW8EpNdqygYvAcfSJos.*AAJTSQACMDIAAlNLABxlaThlTG11YWJwcUVueTYvQ0lUYi9JTVlZaUE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=SE4Y6IJ1DW8EpNdqygYvAcfSJos.*AAJTSQACMDIAAlNLABxlaThlTG11YWJwcUVueTYvQ0lUYi9JTVlZaUE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681867827.393.189145.454428|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "SE4Y6IJ1DW8EpNdqygYvAcfSJos.*AAJTSQACMDIAAlNLABxlaThlTG11YWJwcUVueTYvQ0lUYi9JTVlZaUE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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 01:30:26 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=NLVtvYU1BmuEXyArXrxdtzHB6u4&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': 'dc65dbc6eb9e25b6c9498ad487e259c2'} 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": "NLVtvYU1BmuEXyArXrxdtzHB6u4"}' "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": "P5ALhhD1LZr6BjTYZuLT7VgEmdQ", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer P5ALhhD1LZr6BjTYZuLT7VgEmdQ" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/9d7f8d67-b899-4e09-a3da-7394f112eb46" [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": "9d7f8d67-b899-4e09-a3da-7394f112eb46", "_rev": "9c6e34aa-56ae-450a-bb31-d8a440493e34-478", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419005221@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419005221", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 01:30:27] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiNGViMDZkaGpnc2VhaTFsYmdpZ2N1OTY1cG0iLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZU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GcDNZbE14UVZka1RVNXdMVGgwZUc0M1JHbGZaVGhSYVZOWVZFMXhRVXRKYVRST2FrbGFORUpOWm5Ga2JWZEZWekZKVXpoSGJETkVOR053UlhCTlVUbHhVa2hRU21OZlJWZERTekJPTjJWck16bDNWWEZxTkRWRk1raHVhalU1Y0dSQldHdEhkSFp5Um1aNGNscHROalZwUkhCbmRFTlJOM2x5YkdKaVRqUk5NbDl2YkZWdlZWQTNabEoxU0ZSVlJITlBWRzUwYUZKaVZuSlRaR1ZDZG1JeFZHVk5YMnh2TG0xQldrZE1VbEZwWWtOMWNFODRaRmswUVdnd1FsRS4tRklwNXNya2EySXlMM3BzM1pCT21Vb0kxeDRhY1BiLWtGNEEzVmRiV0pFIiwiZXhwIjoxNjgxODY4MTI5LCJpYXQiOjE2ODE4Njc4Mjl9.FxrOZ9_jgLOP_Yca-iNQQNwrj1MdENo8rolW90emHbE", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiNGViMDZkaGpnc2VhaTFsYmdpZ2N1OTY1cG0iLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUV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FMXhRVXRKYVRST2FrbGFORUpOWm5Ga2JWZEZWekZKVXpoSGJETkVOR053UlhCTlVUbHhVa2hRU21OZlJWZERTekJPTjJWck16bDNWWEZxTkRWRk1raHVhalU1Y0dSQldHdEhkSFp5Um1aNGNscHROalZwUkhCbmRFTlJOM2x5YkdKaVRqUk5NbDl2YkZWdlZWQTNabEoxU0ZSVlJITlBWRzUwYUZKaVZuSlRaR1ZDZG1JeFZHVk5YMnh2TG0xQldrZE1VbEZwWWtOMWNFODRaRmswUVdnd1FsRS4tRklwNXNya2EySXlMM3BzM1pCT21Vb0kxeDRhY1BiLWtGNEEzVmRiV0pFIiwiZXhwIjoxNjgxODY4MTI5LCJpYXQiOjE2ODE4Njc4Mjl9.FxrOZ9_jgLOP_Yca-iNQQNwrj1MdENo8rolW90emHbE", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230419005221"}], "_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": "YYYz1oH22IEI-P78os2gY5DBKDE.*AAJTSQACMDIAAlNLABxYZWxoQys4NkM2ZmlUd2VxOUdDUkRWbEtxQms9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [19/Apr/2023 01:30:30] 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: UfesoVAcJedb4POGcK3NlCP0" -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": "Y2HsEkibbOJRFTnej3kI4BATvKg.*AAJTSQACMDIAAlNLABxTeHZHcHQ5eU1MT3NiM0lLcEI5WUZXQkZrbnM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=Y2HsEkibbOJRFTnej3kI4BATvKg.*AAJTSQACMDIAAlNLABxTeHZHcHQ5eU1MT3NiM0lLcEI5WUZXQkZrbnM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1681867831.275.189102.324165|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "Y2HsEkibbOJRFTnej3kI4BATvKg.*AAJTSQACMDIAAlNLABxTeHZHcHQ5eU1MT3NiM0lLcEI5WUZXQkZrbnM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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 01:30: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=M_ratpWRXGPjQ1Qz34LgFiYBQAc&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': '36ae4daa83df52bdf6a4e1a6265cca31'} 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": "M_ratpWRXGPjQ1Qz34LgFiYBQAc"}' "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": "5-Pdck_nQYn9tlFvCfcgG2qoAlI", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer 5-Pdck_nQYn9tlFvCfcgG2qoAlI" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/9d7f8d67-b899-4e09-a3da-7394f112eb46" [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": "9d7f8d67-b899-4e09-a3da-7394f112eb46", "_rev": "9c6e34aa-56ae-450a-bb31-d8a440493e34-478", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230419005221@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230419005221", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [19/Apr/2023 01:30:31] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped