--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 ________________________________________________________________________________ [07/Apr/2023 02:15:11] Validation_user_idm pre : N/A ________________________________________________________________________________ [07/Apr/2023 02:15:11] - INFO: Timeout for this Task has changed to 30m (1800 seconds) [07/Apr/2023 02:15:11] - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [07/Apr/2023 02:15:11] 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: SnOPz6lC6jbVFeROJbUxeevm" -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": "YZ6RiRct7uNE2fQJiWilowFj4QQ.*AAJTSQACMDIAAlNLABxnMzhFaWgrUSt0MmJYNktsOUNrNDhOUHZ6Q2c9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=YZ6RiRct7uNE2fQJiWilowFj4QQ.*AAJTSQACMDIAAlNLABxnMzhFaWgrUSt0MmJYNktsOUNrNDhOUHZ6Q2c9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680833713.025.37584.179132|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "YZ6RiRct7uNE2fQJiWilowFj4QQ.*AAJTSQACMDIAAlNLABxnMzhFaWgrUSt0MmJYNktsOUNrNDhOUHZ6Q2c9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Fri, 07 Apr 2023 02:15:12 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=Yf1-zt-wDXjNp9Zw5GbsTZsqTw0&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': '5162553d483c0c6c5a0965ba7f4285ce'} 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": "Yf1-zt-wDXjNp9Zw5GbsTZsqTw0"}' "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": "bNYdM2kdzgxJeGkNIHZiKISIaVo", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer bNYdM2kdzgxJeGkNIHZiKISIaVo" --insecure -L -X POST --data '{"userName": "SpiderMan_on_idm_20230407014443", "givenName": "Peter", "sn": "Parker", "password": "T35tr0ck123", "telephoneNumber": "6669876987", "description": "IDM Test User", "roles": [], "mail": "SpiderMan_on_idm_20230407014443@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": "fecabaa8-18c0-4b56-9849-32210ac9eb6d", "_rev": "bbca76c3-b205-4654-b1ef-de95885c2387-4000603", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230407014443@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230407014443", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [07/Apr/2023 02:15:12] Validation_user_idm step2 : Make sure we can search the user both in IDM ________________________________________________________________________________ Authenticate user SpiderMan_on_idm_20230407014443 via REST [http_cmd]: curl -H "X-OpenAM-Username: SpiderMan_on_idm_20230407014443" -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": "Kpx3XVekvQABbi8_jPxFdLF3rQo.*AAJTSQACMDIAAlNLABxYWmkzTjkyM2FQZklzbW54dEVTcUQ3cnQzQm89AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=Kpx3XVekvQABbi8_jPxFdLF3rQo.*AAJTSQACMDIAAlNLABxYWmkzTjkyM2FQZklzbW54dEVTcUQ3cnQzQm89AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680833713.976.37584.210294|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "Kpx3XVekvQABbi8_jPxFdLF3rQo.*AAJTSQACMDIAAlNLABxYWmkzTjkyM2FQZklzbW54dEVTcUQ3cnQzQm89AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Fri, 07 Apr 2023 02:15:13 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=iwZYvphfs7J0_cnp8bAfztdtQ0Y&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': '49394d1020232d48d7766d0e5515f9b8'} 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": "iwZYvphfs7J0_cnp8bAfztdtQ0Y"}' "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": "bPpQoOXPTaVW7eoHOK9XebOVkaQ", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer bPpQoOXPTaVW7eoHOK9XebOVkaQ" --insecure -L -X GET "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/fecabaa8-18c0-4b56-9849-32210ac9eb6d" [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": "fecabaa8-18c0-4b56-9849-32210ac9eb6d", "_rev": "bbca76c3-b205-4654-b1ef-de95885c2387-4000603", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230407014443@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230407014443", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [07/Apr/2023 02:15:13] 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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiaGIybHU3azduOGg1N2cwYmQ0b3JxdWkzMXAiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1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V0Q1gyTnZhVk4wUm00elZWaGlRbU5TTkhsNk1XaHFUalU0U1VVeWFuQm9SbTlxWld0UlFXZEVjVVZuVVdkRGVIVnZUMkpPT1hCVVozRlNZMFZxTjFZeVoyZHBVakpEVUhOaFJXaFNUWEppVUhGNlRreE5jRlpxYm5kVWVYRk1NWGh0U1dONVpXOU5kRFk1ZG5KUlpVcFJRMTlhZUVKM2NqWlhaMU14VFY5dFpFeG9OMGd3V2xWRlNFNVNiVmhOYUZkRFFuVkxkMkV5U2kxZlUyZ3pjamRGTG1KdFRVeHRaRFJCYkVabGVubDVjRU0xZW1OdFJIYy5iMDZzTGl1NnZIYzNFenpEUEhtT2owaTVVRFBvMnJjeEtLZkRLajBISl9zIiwiZXhwIjoxNjgwODM0MDE0LCJpYXQiOjE2ODA4MzM3MTR9.8j5lTYPFxlTUKPe0WN3FxAmIcu6Ri9JYOlpuKCLD3A0", "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.eyJhdXRoSW5kZXhWYWx1ZSI6IkxvZ2luIiwib3RrIjoiaGIybHU3azduOGg1N2cwYmQ0b3JxdWkzMXAiLCJhdXRoSW5kZXhUeXBlIjoic2VydmljZSIsInJlYWxtIjoiLyIsInNlc3Npb25JZCI6IipBQUpUU1FBQ01ESUFCSFI1Y0dVQUNFcFhWRjlCVlZSSUFBSlRNUUFDTURFLipleUowZVhBaU9pSktWMVFpTENKamRIa2lPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUo5LlpYbEtNR1ZZUVdsUGFVcExWakZSYVV4RFNteGliVTFwVDJsS1FrMVVTVFJSTUVw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FuQm9SbTlxWld0UlFXZEVjVVZuVVdkRGVIVnZUMkpPT1hCVVozRlNZMFZxTjFZeVoyZHBVakpEVUhOaFJXaFNUWEppVUhGNlRreE5jRlpxYm5kVWVYRk1NWGh0U1dONVpXOU5kRFk1ZG5KUlpVcFJRMTlhZUVKM2NqWlhaMU14VFY5dFpFeG9OMGd3V2xWRlNFNVNiVmhOYUZkRFFuVkxkMkV5U2kxZlUyZ3pjamRGTG1KdFRVeHRaRFJCYkVabGVubDVjRU0xZW1OdFJIYy5iMDZzTGl1NnZIYzNFenpEUEhtT2owaTVVRFBvMnJjeEtLZkRLajBISl9zIiwiZXhwIjoxNjgwODM0MDE0LCJpYXQiOjE2ODA4MzM3MTR9.8j5lTYPFxlTUKPe0WN3FxAmIcu6Ri9JYOlpuKCLD3A0", "callbacks": [{"type": "NameCallback", "output": [{"name": "prompt", "value": "User Name"}], "input": [{"name": "IDToken1", "value": "SpiderMan_on_idm_20230407014443"}], "_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": "ZfdsRFxNRXdkMGpGajHH-FZKlOI.*AAJTSQACMDIAAlNLABxFVTlvTFhWWE5kRnpRMDVRMDZqdVIzZ2YxUUU9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "successUrl": "/am/console", "realm": "/" } ________________________________________________________________________________ [07/Apr/2023 02:15:15] 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: SnOPz6lC6jbVFeROJbUxeevm" -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": "H8CM01Fgu3jVRyAV72a7KqObf30.*AAJTSQACMDIAAlNLABxrM2JndGFJK05DanM4bHBtRms4bXlDYklpTXM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*", "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=H8CM01Fgu3jVRyAV72a7KqObf30.*AAJTSQACMDIAAlNLABxrM2JndGFJK05DanM4bHBtRms4bXlDYklpTXM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*" --cookie "route=1680833716.383.37217.598438|f60edb382037eb2df1e800d563ad78a7" --data '{"decision": "Allow", "csrf": "H8CM01Fgu3jVRyAV72a7KqObf30.*AAJTSQACMDIAAlNLABxrM2JndGFJK05DanM4bHBtRms4bXlDYklpTXM9AAR0eXBlAANDVFMAAlMxAAIwMQ..*"}' "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': 'Fri, 07 Apr 2023 02:15:15 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=SH4FbM0cSJTFVAR8_JBG0GqT8Xo&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': '494e7f4dff9ca018e7d5722369de88e8'} 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": "SH4FbM0cSJTFVAR8_JBG0GqT8Xo"}' "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": "m8hQpj0CJV_glC28iMpMSDOG8z4", "scope": "fr:idm:*", "token_type": "Bearer", "expires_in": 3599 } [http_cmd]: curl -H "Authorization: Bearer m8hQpj0CJV_glC28iMpMSDOG8z4" --insecure -L -X DELETE "https://xlou.iam.xlou-cdm.engineeringpit.com/openidm/managed/user/fecabaa8-18c0-4b56-9849-32210ac9eb6d" [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": "fecabaa8-18c0-4b56-9849-32210ac9eb6d", "_rev": "bbca76c3-b205-4654-b1ef-de95885c2387-4000603", "country": null, "telephoneNumber": "6669876987", "mail": "SpiderMan_on_idm_20230407014443@forgerock.com", "memberOfOrgIDs": [], "city": null, "displayName": null, "effectiveAssignments": [], [...] "effectiveGroups": [], "preferences": null, "organizationName": null, "givenName": "Peter", "stateProvince": null, "userName": "SpiderMan_on_idm_20230407014443", "postalAddress": null, "effectiveRoles": [], "activateAccount": null } ________________________________________________________________________________ [07/Apr/2023 02:15:16] Validation_user_idm post : Post method ________________________________________________________________________________ Setting result to PASS Task has been successfully stopped