PSM Web Connector - Cisco DNA (ID= changes each time) Help

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

PSM Web Connector - Cisco DNA (ID= changes each time) Help

L1 Bithead

Hi TC,

Long time lurker, first time poster. I am trying to create a web connector to Cisco DNAC however the login page changes each time someone connects. I have tried the plugin generator which picks up the ID field and because that changes on each login does not work. I have tried various forms of syntax to no avail. I have successfully built dozens of Web Connectors, however this one is a struggle.

 

Screenshot below: Sample of the HTML used for Cisco DNAC.

 

The ID Fields (RED BOX) Changes each time the page is refreshed to random chars. So using the ID is not viable. Looking to use the autocomplete="username" in green but I cannot seem to get any syntax working, nor can I find any detailed documentation to help work with the HTML code.

 

Hoping someone here can help my formulate the "WebFormFields" parameters to get this going or point me in the direction of some more detailed documentation.

 

Thanks in advanced.

Chris.

 

Field_Content_versions_oct20__068Ht00000SC3Z1IAL.png

21 REPLIES 21

L0 Member

Hello

I am just wondering, did anyone fix this?

 

@Duong Trung Duong​  @Chris Noye​ 

L2 Linker

Same issue here.....

L4 Transporter

If I'm not mistaken there is an enhancement request to support Shadow-DOM elements like the Cisco DNA site uses.

L0 Member

Same issue here.....

do you have the enhancement request ID to vote ?

Same issue here, any solution here ?

L0 Member

Hi all

 

I was able to get it working with the following settings.

 

1) Make sure basic authentication is allowed for chrome

https://community.cyberark.com/s/question/0D52J00008vKFf7SAG/hi-teamon-our-psm-servers-while-accessi...

 

Set below settings modified by the PSM hardening. Can be either local or by gpo, depending on your environment.

 

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\AuthSchemes

Values: negotiate,basic

 

2) Configure the following logonurl: {username}:{password}@https://{address}/api/system/v1/auth/login

 

Configure below WebFormFields:

(Navigate=https://{address}/)

dnacp-root-container>(Validation)(SearchBy=Class)

apicloginBoxHolder>(Failure)(SearchBy=ID)(Message="Wrong credentials")

 

The connector works as follows:

  1. First attempt basic authentication on the logonURL, which was obtained using the browser’s developer tools.
  2. After the authentication attempt, connect to the homepage:
  • If the basic authentication is successful, the script lands on the management console.
  • If the authentication fails, the script is redirected back to the login page, and a failure is raised.

This worked for me, thanks a lot!

  • 1054 Views
  • 21 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!