Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow publishing plugins to require/provide auth #3390

Closed
3 tasks
benbrown opened this issue Jun 11, 2020 · 1 comment
Closed
3 tasks

Allow publishing plugins to require/provide auth #3390

benbrown opened this issue Jun 11, 2020 · 1 comment
Assignees
Labels
Area: Publish feature-request A request for new functionality or an enhancement to an existing one.

Comments

@benbrown
Copy link
Contributor

Many publishing plugins (Azure, PVA, Github) will require authentication to a given service in order to carry out the actions.

It should be possible for the plugin to require a specific type of authentication, and for this authentication to be separate from the bulk "access restriction" authentication currently available through the auth plugin.

It should be possible, for example, to require auth to Github to publish to Github and have this handled as an in-app flow.

Describe the solution you'd like

  • Allow a publishing plugin to return a 401 or 403 header and redirect to specific login page
  • Introduce ability to expose auth endpoints but not require them for access (that is, do not apply them by default, just enable them to be used to unlock specific capabilities)
  • Figure out a secure way for Composer to store login credentials like this
@benbrown benbrown added Type: Enhancement Needs-triage A new issue that require triage labels Jun 11, 2020
@benbrown benbrown self-assigned this Jun 11, 2020
@cwhitten cwhitten removed the Needs-triage A new issue that require triage label Jun 18, 2020
@gabog gabog added feature-request A request for new functionality or an enhancement to an existing one. and removed Type: Enhancement labels Oct 6, 2020
@benbrown
Copy link
Contributor Author

This will be part of 1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Publish feature-request A request for new functionality or an enhancement to an existing one.
Projects
None yet
Development

No branches or pull requests

5 participants