chef / chef/chef-server

Make Resource Owner Password Credentials from username/password an optional flow

Open
#202 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: oc-id Status: To be prioritized Triage: Confirmed Type: Enhancement
Dominant language
Erlang
Stars
303
Forks
211
Avg merge
1d 8h
Merged PRs (30d)
5

Description

@jamesc once (in chef/oc-id#31) proclaimed:

Since it's inherently more risky (http://tools.ietf.org/html/rfc6749#section-4.3), we should make it configurable whether you want to allow username/password based Resource Owner Password Credentials flow.

A webapp should use the Implicit flow, and we've got support for PEM -> token in the Resource Owner Password Credentials.

Perhaps the best is to give a list of the credentials types you wish to support e.g [:password, :pem]

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

No files or tests are named in the issue. Start by reviewing the existing Resource Owner Password Credentials and PEM-to-token flows, alongside RFC 6749 §4.3, then determine how configurable credential-type support should work. Done means password-based credentials can be enabled or disabled without removing the other supported flow.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.