--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 01:14:19] Validation_user_idm pre : N/A ________________________________________________________________________________ [02/May/2023 01:14:19] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [02/May/2023 01:14:19] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [02/May/2023 01:14: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: JDiSFGB29qjY15cvUKcTMGYH" -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": "Dyyz3rs0T4JDXMW_xLfkLujuXh8.*AAJTSQACMDIAAlNLABw0dzlUU09SRW8vclBvN3lBdUMrU29scmd1elk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=Dyyz3rs0T4JDXMW_xLfkLujuXh8.*AAJTSQACMDIAAlNLABw0dzlUU09SRW8vclBvN3lBdUMrU29scmd1elk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682990060.995.347125.907913|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "Dyyz3rs0T4JDXMW_xLfkLujuXh8.*AAJTSQACMDIAAlNLABw0dzlUU09SRW8vclBvN3lBdUMrU29scmd1elk9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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 01:14: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=z0R0yB0elzXBJYvw5IWHXTtA8es&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': 'f9dddbf7ea69254440adf48e4ec8988f'} 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": "z0R0yB0elzXBJYvw5IWHXTtA8es"}' "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": "LAD5Tz_7wChEB0_FYK7ndHqzvZQ", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer LAD5Tz_7wChEB0_FYK7ndHqzvZQ" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230502003444", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230502003444@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": "bf98e7d3-395a-4b3e-8c30-f1d09bad1a36", "_rev": "7b7a86b2-b0ba-41d4-8474-4d1924aecf79-480", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230502003444@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230502003444", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [02/May/2023 01:14:22] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230502003444 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230502003444" -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": "fNHITOLaVkpT03xCGRNQbwKOdQk.*AAJTSQACMDIAAlNLABwyMGg0aVJvVmNUVlVBczVNZjBKNG9kWnk4NGs9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=fNHITOLaVkpT03xCGRNQbwKOdQk.*AAJTSQACMDIAAlNLABwyMGg0aVJvVmNUVlVBczVNZjBKNG9kWnk4NGs9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682990063.26.346995.802388|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "fNHITOLaVkpT03xCGRNQbwKOdQk.*AAJTSQACMDIAAlNLABwyMGg0aVJvVmNUVlVBczVNZjBKNG9kWnk4NGs9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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 01:14:22 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=zaNAsObBdPV_nIT711vJVfxxJR8&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': '6f7198d727a619bcce4a732e255e8e0c'} 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": "zaNAsObBdPV_nIT711vJVfxxJR8"}' "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": "dJ0qtkBHAokJNntE08gP1q353LE", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer dJ0qtkBHAokJNntE08gP1q353LE" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/bf98e7d3-395a-4b3e-8c30-f1d09bad1a36" [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": "bf98e7d3-395a-4b3e-8c30-f1d09bad1a36", "_rev": "7b7a86b2-b0ba-41d4-8474-4d1924aecf79-480", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230502003444@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230502003444", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [02/May/2023 01:14:23] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoicTdqcTFsczZuYmh1am1zYTMzcjN1MWIxZW8iLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1Fr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N6UjA5YVpGSkVWRVl0WWxRdFkxcHVOWEZKVUZKa2RYaDRNVXB6WVZGQ09FODNVa3hhUVZSbFUxSjNVbkJDV0RsWFVrZHFNa0ZoTlRGWlJIUkVXa0kzUkRaa2J6UkpSbXQ1WmtwaFYwTllXRFZxTTFwcGVHZGhSVW8wZUZZNFIxVTJaV3RFV1VsME1sTm1kVnBVZWtaNVpFdEJSMHhrZDI1aWFXMXliR3MxY1VwT2FqRkhSM05PYkV3NFNWZHVlR3h4TlZFeVQzRjFUa2swTGpkc05YbHVVVWRIZFd0TWVsaGZMV3RTT1hwbGNXYy5NdDJhWTdIdEJIYVNCc04tZUFoRlE4OWdvWVk2U00zQVFPSk9wY3hCUE9nIiwiZXhwIjoxNjgyOTkwMzY0LCJpYXQiOjE2ODI5OTAwNjR9.xfaxVC5rI4-2U77yCKbTrPPl5EofQfAsVwtO7m3xIz0", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoicTdqcTFsczZuYmh1am1zYTMzcjN1MWIxZW8iLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9W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xRdFkxcHVOWEZKVUZKa2RYaDRNVXB6WVZGQ09FODNVa3hhUVZSbFUxSjNVbkJDV0RsWFVrZHFNa0ZoTlRGWlJIUkVXa0kzUkRaa2J6UkpSbXQ1WmtwaFYwTllXRFZxTTFwcGVHZGhSVW8wZUZZNFIxVTJaV3RFV1VsME1sTm1kVnBVZWtaNVpFdEJSMHhrZDI1aWFXMXliR3MxY1VwT2FqRkhSM05PYkV3NFNWZHVlR3h4TlZFeVQzRjFUa2swTGpkc05YbHVVVWRIZFd0TWVsaGZMV3RTT1hwbGNXYy5NdDJhWTdIdEJIYVNCc04tZUFoRlE4OWdvWVk2U00zQVFPSk9wY3hCUE9nIiwiZXhwIjoxNjgyOTkwMzY0LCJpYXQiOjE2ODI5OTAwNjR9.xfaxVC5rI4-2U77yCKbTrPPl5EofQfAsVwtO7m3xIz0", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230502003444"}], "_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": "1BvVl97JJRJ73bgtfyAoNAxq2ZQ.*AAJTSQACMDIAAlNLABx6d0lpODVja0ErS1pka2dTay9CbnlKdlFsZzA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [02/May/2023 01:14:26] 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: JDiSFGB29qjY15cvUKcTMGYH" -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": "BaUsavH9fRFTKiSoa3WkQ8gkh8s.*AAJTSQACMDIAAlNLABxhQU9RVjFRYm55TnRZNTJSQVFDN0krRmNEYUE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=BaUsavH9fRFTKiSoa3WkQ8gkh8s.*AAJTSQACMDIAAlNLABxhQU9RVjFRYm55TnRZNTJSQVFDN0krRmNEYUE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1682990067.243.346939.792100|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "BaUsavH9fRFTKiSoa3WkQ8gkh8s.*AAJTSQACMDIAAlNLABxhQU9RVjFRYm55TnRZNTJSQVFDN0krRmNEYUE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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 01:14: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=_vqX2wxKD73pU7z7Ydeh9dtjyzs&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': 'abc6b454fb5f901df7d0eade72efc571'} 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": "_vqX2wxKD73pU7z7Ydeh9dtjyzs"}' "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": "MpLUBpwVHesBV6PdHgwlcqFxRdE", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer MpLUBpwVHesBV6PdHgwlcqFxRdE" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/bf98e7d3-395a-4b3e-8c30-f1d09bad1a36" [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": "bf98e7d3-395a-4b3e-8c30-f1d09bad1a36", "_rev": "7b7a86b2-b0ba-41d4-8474-4d1924aecf79-480", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230502003444@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230502003444", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [02/May/2023 01:14:27] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped