How to remove WinAuth from verification URL received from the UiPath?
Verification link is formed inside the code of the connector and the link format is hard-coded.
The part with /WinAuth/ is always added to the link except the cases when the address of the application server ends with .flexicapture.com (FlexiCapture 12 Cloud server where you cannot use Windows Authentication).
In all other cases, /WinAuth/ exists in the link by design.
To delete /WinAuth/, in UiPath workflow add an action after connector's call. This action will cut /WinAuth/ from the verification link:
- Add an activity Assign:
- In properties of Assign activity fill:
To - input variable name in which the connector will write the verification link (on example the name for this variable - verificationUrl)
Value - input the expression on Visual Basic: verificationUrl.Replace("/WinAuth/", "/")
The link http://fc-server.domain.com/FlexiCapture12/Verification/WinAuth/Verify?taskId=6&projectId=1&roleId=16&returnTo=DeadEndwill be transformed to http://fc-server.domain.com/FlexiCapture12/Verification/Verify?taskId=6&projectId=1&roleId=16&returnTo=DeadEnd