--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 ________________________________________________________________________________ [21/Feb/2023 01:20:41] Validation_user_idm pre : N/A ________________________________________________________________________________ [21/Feb/2023 01:20:41] - INFO: Timeout for this Task has changed to 2h (7200 seconds) [21/Feb/2023 01:20:41] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [21/Feb/2023 01:20:41] 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: WqvW4NP4iYpBdoVOxlGe51yP" -H "Content-Type: application/json" -H "Accept-API-Version: resource=2.0, protocol=1.0" -L -X POST "https://xlou.iam.xlou-bsln.engineeringpit.com/am/json/authenticate?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "tokenId": "UuXlIZcLzZhgKOLGK5CUSMk6JRo.*AAJTSQACMDIAAlNLABxTYUlCcy8vYlUvRXRtUmNjYUsvTEJ5Y1B3NnM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=UuXlIZcLzZhgKOLGK5CUSMk6JRo.*AAJTSQACMDIAAlNLABxTYUlCcy8vYlUvRXRtUmNjYUsvTEJ5Y1B3NnM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1676942442.753.322099.296639|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "UuXlIZcLzZhgKOLGK5CUSMk6JRo.*AAJTSQACMDIAAlNLABxTYUlCcy8vYlUvRXRtUmNjYUsvTEJ5Y1B3NnM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "https://xlou.iam.xlou-bsln.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, 21 Feb 2023 01:20:42 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=tHhOk6OS8dmNQu9_2cPAwyO-_bg&iss=https%3A%2F%2Fxlou.iam.xlou-bsln.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': '71444df653a720baf61743cbf0abd258'} 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": "tHhOk6OS8dmNQu9_2cPAwyO-_bg"}' "https://xlou.iam.xlou-bsln.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": "_EijRccwTNevJJh4c-NXItI6ZkM", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer _EijRccwTNevJJh4c-NXItI6ZkM" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm@forgerock.com"}' "https://xlou.iam.xlou-bsln.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": "2be91a28-de23-48e7-b39d-f4c2530e6d00", "_rev": "2d8c2b9a-84c8-4d78-aef4-13c044947496-4000879", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [21/Feb/2023 01:20:42] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm" -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-bsln.engineeringpit.com/am/json/authenticate?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "tokenId": "te9XaQXpopRLs-y248KcEeLOVBQ.*AAJTSQACMDIAAlNLABw2cEU2bzRRTlVoWnVrQzB2UmFJYmNocHlUbFE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=te9XaQXpopRLs-y248KcEeLOVBQ.*AAJTSQACMDIAAlNLABw2cEU2bzRRTlVoWnVrQzB2UmFJYmNocHlUbFE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1676942443.697.322298.194655|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "te9XaQXpopRLs-y248KcEeLOVBQ.*AAJTSQACMDIAAlNLABw2cEU2bzRRTlVoWnVrQzB2UmFJYmNocHlUbFE9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "https://xlou.iam.xlou-bsln.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, 21 Feb 2023 01:20:42 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=vw8tESj0W68FoF5UyJxA216bG94&iss=https%3A%2F%2Fxlou.iam.xlou-bsln.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': 'a04b79c8b5091b280457600a719e8cc9'} 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": "vw8tESj0W68FoF5UyJxA216bG94"}' "https://xlou.iam.xlou-bsln.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": "dk6Zqq0kc6peUj67AYwwui0BeyY", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer dk6Zqq0kc6peUj67AYwwui0BeyY" --insecure -L -X GET "https://xlou.iam.xlou-bsln.engineeringpit.com/openidm/managed/user/2be91a28-de23-48e7-b39d-f4c2530e6d00" [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": "2be91a28-de23-48e7-b39d-f4c2530e6d00", "_rev": "2d8c2b9a-84c8-4d78-aef4-13c044947496-4000879", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [21/Feb/2023 01:20:43] 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-bsln.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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibnQzMDlpZGk0NzYzMGY0c2xuMWVrcGxoc24iLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9WRTFxVlRKSmFY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DUjBkRGVpMVNhRXBpUlhWVk9HSmxVRzk1WVVGb2VUSjZjVFYyUWxwU1FWODFZMm8wVkZGbVpGOVVaVmx3U2pCNmMyaHlZa1prUkVSdWFrZEZlVEJMV0RVMVVtWmhlall4VldaTFZIbG5hMFpqYldGWFlUQnRlWG93U2w4MkxWaEJRM0l4V0VGblJISkRWM1JrUlZaelNFZ3RRbE5HVTNSZllVZHdZVFpaTG5WdmJXdFllbmhVY2xOV1FtVkJjMlo1VFZOS05uYy5xX1VQSVBpZnd5VG9TTnlsbHA4Rk9iaDFoY0NZc2I4TTVFUG5pc3FodXQ0IiwiZXhwIjoxNjc2OTQyNzQ0LCJpYXQiOjE2NzY5NDI0NDR9.qvhiCDwCGmVM1xyXvTjrnonOlSSN3KLnnSKGtELXqG0", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoibnQzMDlpZGk0NzYzMGY0c2xuMWVrcGxoc24iLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVwRVRGVm9WRTFxVlRKSmFYZHBXVmQ0YmtscWIybGFSMng1U1c0d0xpNVVjakJXVj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VUSjZjVFYyUWxwU1FWODFZMm8wVkZGbVpGOVVaVmx3U2pCNmMyaHlZa1prUkVSdWFrZEZlVEJMV0RVMVVtWmhlall4VldaTFZIbG5hMFpqYldGWFlUQnRlWG93U2w4MkxWaEJRM0l4V0VGblJISkRWM1JrUlZaelNFZ3RRbE5HVTNSZllVZHdZVFpaTG5WdmJXdFllbmhVY2xOV1FtVkJjMlo1VFZOS05uYy5xX1VQSVBpZnd5VG9TTnlsbHA4Rk9iaDFoY0NZc2I4TTVFUG5pc3FodXQ0IiwiZXhwIjoxNjc2OTQyNzQ0LCJpYXQiOjE2NzY5NDI0NDR9.qvhiCDwCGmVM1xyXvTjrnonOlSSN3KLnnSKGtELXqG0", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm"}], "_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-bsln.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": "Pb_p4l591QF5GBBZUZw4Yq32uvc.*AAJTSQACMDIAAlNLABxVZkM3YS95dE9YOEd1TmZ2RXhqNGFsSytTWjA9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [21/Feb/2023 01:20:45] 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: WqvW4NP4iYpBdoVOxlGe51yP" -H "Content-Type: application/json" -H "Accept-API-Version: resource=2.0, protocol=1.0" -L -X POST "https://xlou.iam.xlou-bsln.engineeringpit.com/am/json/authenticate?realm=/" [http_cmd]: http status code OK --- status code --- http status code is 200 (expected 200) --- http response --- { "tokenId": "3bDauMLR_ShbEiwVf21kOhrwYPI.*AAJTSQACMDIAAlNLABxIV2FyMUpuL1BnOGhLV050S2ZEb3MybjlHaGs9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=3bDauMLR_ShbEiwVf21kOhrwYPI.*AAJTSQACMDIAAlNLABxIV2FyMUpuL1BnOGhLV050S2ZEb3MybjlHaGs9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1676942446.591.322073.450610|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "3bDauMLR_ShbEiwVf21kOhrwYPI.*AAJTSQACMDIAAlNLABxIV2FyMUpuL1BnOGhLV050S2ZEb3MybjlHaGs9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "https://xlou.iam.xlou-bsln.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, 21 Feb 2023 01:20:45 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=z93BJkuO3Eqw75j2rFN-gLMNrDM&iss=https%3A%2F%2Fxlou.iam.xlou-bsln.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': 'ed4e275c6b3a7c02f383bdbcf0fe85dc'} 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": "z93BJkuO3Eqw75j2rFN-gLMNrDM"}' "https://xlou.iam.xlou-bsln.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": "dOAdje_0FnE6G7PagkoslecxwyQ", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer dOAdje_0FnE6G7PagkoslecxwyQ" --insecure -L -X DELETE "https://xlou.iam.xlou-bsln.engineeringpit.com/openidm/managed/user/2be91a28-de23-48e7-b39d-f4c2530e6d00" [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": "2be91a28-de23-48e7-b39d-f4c2530e6d00", "_rev": "2d8c2b9a-84c8-4d78-aef4-13c044947496-4000879", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [21/Feb/2023 01:20:46] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped