CPM - Verify / Change is not working for Web Application Onboarding

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

CPM - Verify / Change is not working for Web Application Onboarding

L3 Networker

[Verify]

/html/body/app-root/app-vue-wrapper/div/div/div^[2^]/div/div^[1^]/div/input>{Username}(SearchBy=XPath)

/html/body/app-root/app-vue-wrapper/div/div/div^[2^]/div/div^[2^]/div/input>{Password}(SearchBy=XPath)

/html/body/app-root/app-vue-wrapper/div/div/div^[2^]/div/div^[4^]/button>(Button)(SearchBy=XPath)

Hostname>(Validation)(Searchby=text)

 

I have this added on the ini File in CPM, When I initiate Verify it is not veryfying it is always showing : This account is scheduled for immediate verification.

Note: For the CPM , I used the same Webform fields which is working for the PSM.

 

I have added the parameter on the platform Verify https://{address}/#/site:xxxxxx/dashboard/status

 

Change is also failing, I used the Webform fields - HTML elements

[Change]

/html/body/app-root/app-main-layout/app-ems-header/nu-header/div^[4^]/nu-header-action-dropdown^[3^]/button/nu-icon/svg>(Button)(SearchBy=XPath)

//*[@id="cdk-overlay-10"]/nu-menu-item-button^[1^]/div/span(Button)(SearchBy=XPath)

//*[@id="admin_password"]/div^[2^]/div^[1^]/div/input>{oldPassword}(SearchBy=XPath)

//*[@id="admin_password"]/div^[2^]/div^[2^]/div^[1^]/div/input>{newpassword}(SearchBy=XPath)

//*[@id="admin_password"]/div^[2^]/div^[2^]/div^[3^]/div/input>{confirmwpassword}(SearchBy=XPath)

//*[@id="admin_password"]/div^[3^]/div/div/button/span>(Button)(SearchBy=XPath)

Hostname>(Validation)(Searchby=text)

 

but this also not working

Sequence :

1.Click Test Admin 2. Click Change password Field_Content_versions_oct20__068Vy00000l6z5rIAA.png 

Field_Content_versions_oct20__068Vy00000l7TobIAE.png3. Enter Old password 4. Enter new password 5.Confirm password 6. Save

17 REPLIES 17

L4 Transporter

Hello,

 

How about Connect, is it working?

Also CPM plugins does not need the "^" before brackets only PSM does.

PSM Connect is working as expected

 

L3 Networker

@Kingsly Johnson Soundararajan​ Few things to confirm here

You mentioned " When I initiate Verify it is not veryfying it is always showing : This account is scheduled for immediate verification"

Is CPM working for other accounts to manage password change and verify?

 

You mentioned change is failing, can you share the logs for failed change password

 

Also, you can first check the connector from CPM locally.

Under section Create a user.ini file to simulate parameters

https://docs.cyberark.com/pam-self-hosted/latest/en/content/plugins/cpm_webapplication.htm?Highlight=verify%20web%20passwords#Paramete

 

L3 Networker

@Kingsly Johnson Soundararajan​ Few things to confirm here

You mentioned " When I initiate Verify it is not veryfying it is always showing : This account is scheduled for immediate verification"

Is CPM working for other accounts to manage password change and verify?

 

You mentioned change is failing, can you share the logs for failed change password

 

Also, you can first check the connector from CPM locally.

Under section Create a user.ini file to simulate parameters

https://docs.cyberark.com/pam-self-hosted/latest/en/content/plugins/cpm_webapplication.htm?Highlight=verify%20web%20passwords#Paramete

 

Remove "^" before brackets as I mentioned and try to verify again.

L7 Applicator

Hi @Kingsly Johnson Soundararajan​ 

 

Can you please verify Hostname>(Validation)(Searchby=text)? It is not an XPath or CSS selector. It's likely failing because the CPM doesn't know how to interpret it.

 

Please ensure that your verify web form fields match the entire login flow,

 

  1. Entering the username
  2. Entering the password
  3. Clicking the login button
  4. Using a validation selector to confirm the successful login

 

Also the change process should capture the entire password change flow,

 

  1. Navigating to the change password page
  2. Entering the old password
  3. Entering the new password
  4. Confirming the new password
  5. Clicking the save button.
  6. Use a validation selector to confirm the change was successful 

 

 

In additiona, please enable CPM debug logs and and search for errors such as "failed to find element with selector " or "element not found." This will tell you exactly which part of your configuration is failing.

 

Hope it helps !

Sure Malhar. let me try and update.

Aamarai, Seeing this error message : Execution error. Change process failed - Parameter oldPassword is expected but has an empty value or is not defined at both account and platform level configuration. Error code:8225  let me also check on this.

 

Hi Manish, I tried verify is failing with this error :

\Execution error. Change process failed - Parameter oldPassword is expected but has an empty value or is not defined at both account and platform level configuration. Error code:8225

I dont think there's a parameters called oldPassword, try this:

 

{password} = current password

{newpassword} = newpassword

{newpassword} = confirm new password

It is asking to enter the old password, I am not sure how to punch the old password

Field_Content_versions_oct20__068Vy00000mGJUWIA4.png

The Old Password is the same thing as the {password}

How's is you change section defined?

[Change]

/html/body/app-root/app-main-layout/app-ems-header/nu-header/div^[4^]/nu-header-action-dropdown^[3^]/button/nu-icon/svg>(Button)(SearchBy=XPath)

//*[@id="cdk-overlay-10"]/nu-menu-item-button^[1^]/div/span(Button)(SearchBy=XPath)

//*[@id="admin_password"]/div^[2^]/div^[1^]/div/input>{oldPassword}(SearchBy=XPath)

//*[@id="admin_password"]/div^[2^]/div^[2^]/div^[1^]/div/input>{newpassword}(SearchBy=XPath)

//*[@id="admin_password"]/div^[2^]/div^[2^]/div^[3^]/div/input>{confirmwpassword}(SearchBy=XPath)

//*[@id="admin_password"]/div^[3^]/div/div/button/span>(Button)(SearchBy=XPath)

Hostname>(Validation)(Searchby=text)

[Change]

/html/body/app-root/app-main-layout/app-ems-header/nu-header/div^[4^]/nu-header-action-dropdown^[3^]/button/nu-icon/svg>(Button)(SearchBy=XPath)

//*[@id="cdk-overlay-10"]/nu-menu-item-button^[1^]/div/span(Button)(SearchBy=XPath)

//*[@id="admin_password"]/div^[2^]/div^[1^]/div/input>{password}(SearchBy=XPath)

//*[@id="admin_password"]/div^[2^]/div^[2^]/div^[1^]/div/input>{newpassword}(SearchBy=XPath)

//*[@id="admin_password"]/div^[2^]/div^[2^]/div^[3^]/div/input>{newpassword}(SearchBy=XPath)

//*[@id="admin_password"]/div^[3^]/div/div/button/span>(Button)(SearchBy=XPath)

Hostname>(Validation)(Searchby=text)

  • 425 Views
  • 17 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!