chef / chef/chef-server

There is no way to authorize user to oc-id app using CLI

Open
#1,604 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Triage: Feature Request
Dominant language
Erlang
Stars
303
Forks
211
Avg merge
1d 8h
Merged PRs (30d)
5

Description

Describe the Enhancement:

Add to chef-server-ctl command to authorize user to use oc-id application, for instance:

chef-server-ctl user-authorize-app myuser supermarket
Describe the Need:

When adding a new organization/user to chef server I'd like to immediately authorize this user to private supermarket. This feature is really needed to anyone who is using private supermarket and wants to automate provisioning to avoid manual steps.

Current Alternative

At the moment there is no alternative/workaround. If I add a new organization and user the user can't be used directly for sharing cookbook to supermarket, so the one shot automated provisioning is not possible. Each time after user is created I have to deploy windows instance to go to supermarket in browser, log in with the new user and authorize supermarket for the user.

Can We Help You Implement This?:

yes if you provide me all necessary information what and where should happen to authorize user for app.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the chef-server-ctl command entry point and the oc-id authorization flow for the supermarket application. Define how the proposed user-authorize-app command should connect these pieces, including its arguments and successful authorization behavior; the issue does not name files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
authorization, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.