cyberark-conjur-cli-docker-based
cyberark-conjur-cli-docker-based copied to clipboard
Trailing slashes on appliance URLs break CLI functionality
Summary
Trailing slashes on appliance URLs break CLI functionality
Steps to Reproduce
Steps to reproduce the behavior:
- Provide an https URL with a trailing slash during init like
conjur init -u https://example.com/ -a cucumber
- Attempt to login with any user and password using
conjur authn login
(have not tested hosts)
Expected Results
Successful login.
Actual Results (including error logs, if applicable)
Error "Unable to authenticate with Conjur. Please check your credentials." with no information as to why.
Reproducible
- [X] Always
- [ ] Sometimes
- [ ] Non-Reproducible
Version/Tag number
Tried with Docker and Ruby conjur-cli while connecting to v5 Conjur.
Environment setup
If needed, I can provide this out-of-band over email or Slack DM.
Additional Information
When you copy URLs from Chrome, they include the trailing slash.