cloudflare / cloudflare/cfssl

Enable both authenticated and unauthenticated sign endpoints when valid

Open
#107 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

The authsign endpoint is currently not very flexible. NewAuthSignHandler requires that all profiles loaded have an authentication provider. We should support both endpoints, but only if there are profiles that make sense for each.
- the authsign endpoint should only be available for profiles that have an authentication provider, and disabled if no profiles have one.
- the sign endpoint should only be available for profiles that do not have an authentication provider, or have an authentication provider and a remote signer.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.