-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
team: webappIssue belongs to the WebApp teamIssue belongs to the WebApp team
Description
Currently, the authProviders
in the config.yaml is an array of objects with sensitive data in. THIS IS A BAD IDEA* and will probably raise concern with self-hosted users with additional security/compliance requirements.
Current - array of objects
authProviders:
- id: Public-GitHub
host: github.com
type: GitHub
oauth:
clientId: xxx
clientSecret: xxx
callBackUrl: https://$DOMAIN/auth/github.com/callback
settingsUrl: https://github.com/organizations/$ORG_ID/settings/applications/$APP_ID
Proposed - array of secrets
authProviders:
- kind: secret
name: auth-provider-github
- kind: secret
name: auth-provider-gitlab
Each secret would then have the data in an expected format similar to the current auth provider config.
One of the difficulties with this is that this is injected into server
as a ConfigMap, so the object would need to be amended to accept a file location and then read the content from the file
Metadata
Metadata
Assignees
Labels
team: webappIssue belongs to the WebApp teamIssue belongs to the WebApp team