profile names with dash (`-`) fail authentication
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
When I have a - in the profile name, and use it as described, CDP tries to connect to its default authentiation server, ignoring the endpoint_url options in .cdp/config.
Please make sure that - is handled properly in profile names, or at least give an error if user tries to use it. Right now it's just ignored silently, even when using --debug.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a profile name containing - and an endpoint_url in .cdp/config, using --debug to observe which authentication server is selected. Trace the profile-name parsing and endpoint selection entry points; done means the configured endpoint is honored or a clear error is emitted instead of silently falling back.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100