Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Trailing slashes on appliance URLs break CLI functionality #318

Open
1 of 3 tasks
UberKitten opened this issue Jul 1, 2021 · 0 comments
Open
1 of 3 tasks

Trailing slashes on appliance URLs break CLI functionality #318

UberKitten opened this issue Jul 1, 2021 · 0 comments

Comments

@UberKitten
Copy link

Summary

Trailing slashes on appliance URLs break CLI functionality

Steps to Reproduce

Steps to reproduce the behavior:

  1. Provide an https URL with a trailing slash during init like conjur init -u https://example.com/ -a cucumber
  2. 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

  • 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging a pull request may close this issue.

2 participants