--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 ________________________________________________________________________________ [01/May/2023 19:04:57] Validation_user_idm pre : N/A ________________________________________________________________________________ [01/May/2023 19:04:57] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [01/May/2023 19:04:57] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [01/May/2023 19:04:57] 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: C5fEPavvZoSVbY5rSrnsy7s3" -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": "qtECWHsS-lt3_YqXVqUwbHk4YZ8.*AAJTSQACMDIAAlNLABxrM3NhamprS3BJTGpiVzFKMnNDTThqeC9hWXc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=qtECWHsS-lt3_YqXVqUwbHk4YZ8.*AAJTSQACMDIAAlNLABxrM3NhamprS3BJTGpiVzFKMnNDTThqeC9hWXc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682967898.383.332749.348520|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "qtECWHsS-lt3_YqXVqUwbHk4YZ8.*AAJTSQACMDIAAlNLABxrM3NhamprS3BJTGpiVzFKMnNDTThqeC9hWXc9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Mon, 01 May 2023 19:04:57 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=YGHoLVGw9gPX9Nk7T6sAKB6O6LA&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': '288ec81a336cbfdb9ed7b78da3202b04'} 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": "YGHoLVGw9gPX9Nk7T6sAKB6O6LA"}' "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": "9swDC879G-aldr942uVg-yR5F4Y", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer 9swDC879G-aldr942uVg-yR5F4Y" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230501182459", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230501182459@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": "36278d31-fcd4-401f-9942-219238ddaaa9", "_rev": "6f2069c1-7a65-45d6-8a52-152796743d28-515", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230501182459@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230501182459", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [01/May/2023 19:04:59] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230501182459 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230501182459" -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": "xS7TFchdvKBz5ckuChOT57mrFDQ.*AAJTSQACMDIAAlNLABxDVzdmSTEwL0w5dU14WmdqWUFrVGEvem1uZVU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=xS7TFchdvKBz5ckuChOT57mrFDQ.*AAJTSQACMDIAAlNLABxDVzdmSTEwL0w5dU14WmdqWUFrVGEvem1uZVU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682967900.379.332454.444460|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "xS7TFchdvKBz5ckuChOT57mrFDQ.*AAJTSQACMDIAAlNLABxDVzdmSTEwL0w5dU14WmdqWUFrVGEvem1uZVU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Mon, 01 May 2023 19:04:59 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=2JEX_wnMDNZDOSVRNCAlD9-6FYc&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': '097a3c7b8e5c76055469dcb19384fae5'} 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": "2JEX_wnMDNZDOSVRNCAlD9-6FYc"}' "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": "m1drtJqF-Cu_pnBmjAJLgef26LE", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer m1drtJqF-Cu_pnBmjAJLgef26LE" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/36278d31-fcd4-401f-9942-219238ddaaa9" [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": "36278d31-fcd4-401f-9942-219238ddaaa9", "_rev": "6f2069c1-7a65-45d6-8a52-152796743d28-515", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230501182459@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230501182459", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [01/May/2023 19:05:00] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiNW50am1kbjhoZzllcmZxOXI4am5zamc1am8iLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm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SM1pETURSRExVRTFYMTlzYkhwVFZreHpRWFZQWTJOUWVDMUpMWGc0VEhadGRVZFRObkp3Um1kV1pGTnFTMUJ6UkVOdWVITndTSGhqU0VSc2FHTm5UREZsYkZCME0xRjROVGs0T0hKSWF6RTNVVGgzZURkQ2RFSTJTQzFUVTNrM056Wk9URXBVVlVNMU1VcHlSbFJGVjBaUGFFVTJaVWhpYjNGcFZVUlNjMHBTY2tOM00yUmtaRWRaTG1KRmRHMWxUalJqUkMxMVJVcDJOM0k0TlVwRGQyYy44YTNMZHZzR2lMZGVqQlRtOWJBM0NpMHNnX1ZiZVZzWHhzbS1TQmhncUVvIiwiZXhwIjoxNjgyOTY4MjAxLCJpYXQiOjE2ODI5Njc5MDF9.Sja3H5Z82JoRpV7d240g4hcj5TPkAZSGLu7WAtzE2hg", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiNW50am1kbjhoZzllcmZxOXI4am5zamc1am8iLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9WRTFxVlRKSmFYZHBXVmQ0YmtscWIybGFSMng1U1c0d0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UpMWGc0VEhadGRVZFRObkp3Um1kV1pGTnFTMUJ6UkVOdWVITndTSGhqU0VSc2FHTm5UREZsYkZCME0xRjROVGs0T0hKSWF6RTNVVGgzZURkQ2RFSTJTQzFUVTNrM056Wk9URXBVVlVNMU1VcHlSbFJGVjBaUGFFVTJaVWhpYjNGcFZVUlNjMHBTY2tOM00yUmtaRWRaTG1KRmRHMWxUalJqUkMxMVJVcDJOM0k0TlVwRGQyYy44YTNMZHZzR2lMZGVqQlRtOWJBM0NpMHNnX1ZiZVZzWHhzbS1TQmhncUVvIiwiZXhwIjoxNjgyOTY4MjAxLCJpYXQiOjE2ODI5Njc5MDF9.Sja3H5Z82JoRpV7d240g4hcj5TPkAZSGLu7WAtzE2hg", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230501182459"}], "_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": "lM4kIIIRVv5XlQVVp4KYtVcyTBc.*AAJTSQACMDIAAlNLABxobzRvY280RVJ4UENkclhWcmZuNUVZOTVYYzQ9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [01/May/2023 19:05:02] 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: C5fEPavvZoSVbY5rSrnsy7s3" -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": "kdK7o4SuaLmc0MwNynYviqmDbAo.*AAJTSQACMDIAAlNLABxBMUg4RjhuK1RKcldueVp3cS8wSElQcTlWOTA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=kdK7o4SuaLmc0MwNynYviqmDbAo.*AAJTSQACMDIAAlNLABxBMUg4RjhuK1RKcldueVp3cS8wSElQcTlWOTA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682967903.874.332656.508345|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "kdK7o4SuaLmc0MwNynYviqmDbAo.*AAJTSQACMDIAAlNLABxBMUg4RjhuK1RKcldueVp3cS8wSElQcTlWOTA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Mon, 01 May 2023 19:05:03 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=7DqytiW-ALAwBS0ZjQevGMfy5yU&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': '9871787c61e4233ba6899ab9855e4b60'} 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": "7DqytiW-ALAwBS0ZjQevGMfy5yU"}' "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": "27IC0sl5-mv_em_1j2Dy0UHuNPo", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer 27IC0sl5-mv_em_1j2Dy0UHuNPo" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/36278d31-fcd4-401f-9942-219238ddaaa9" [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": "36278d31-fcd4-401f-9942-219238ddaaa9", "_rev": "6f2069c1-7a65-45d6-8a52-152796743d28-515", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230501182459@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230501182459", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [01/May/2023 19:05:03] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped