chef-server-ctl oc-id-show-app APP does not recognize app name
Open
Nobody has claimed this yet.
Aspect: UX
Component: oc-id
Triage: Confirmed
Type: Bug
- Dominant language
- Erlang
- Stars
- 303
- Forks
- 211
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 5
Description
Chef Server Version
Running 12.18.14
Platform Details
VM with Ubuntu 18.04.1 LTS
RAM: 3.9G total, 2.2G free.
Configuration
Standalone, new install
/etc/opscode/chef-server.rb:
oc_id['applications'] ||= {}
oc_id['applications']['supermarket'] = {
'redirect_uri' => 'https://chefnode.novalocal/auth/chef_oauth2/callback'
}
Scenario:
When I try to run chef-server-ctl oc-id-show-app supermarket or chef-server-ctl oc-id-show-app --help it always outputs No app name provided
Steps to Reproduce:
- Install Chef Server
- Run
chef-server-ctl oc-id-show-app supermarket
Expected Result:
Display the JSON with the OAuth information for the Supermarket.
Contributor guide
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 with the chef-server-ctl oc-id-show-app entry point and trace how it parses the APP argument and --help option. Reproduce the command with supermarket, then confirm the fix by verifying that it returns the OAuth application JSON instead of "No app name provided".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- erlang
- Domain
- authentication, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100