mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
348a2e0285
Closes https://github.com/coder/internal/issues/988 The logic for allowing/denying tools can be found in https://github.com/coder/aibridge/pull/4/files#diff-330a6371a583dd8cadeed79b95499e3a87960ad8ea4d6a94061e8f88a44834c3 (`ProxyBase.filterAllowedTools`).
26 lines
753 B
YAML
26 lines
753 B
YAML
externalAuthProviders:
|
|
- type: github
|
|
client_id: client_id
|
|
client_secret: client_secret
|
|
id: id
|
|
auth_url: https://example.com/auth
|
|
token_url: https://example.com/token
|
|
validate_url: https://example.com/validate
|
|
app_install_url: https://example.com/install
|
|
app_installations_url: https://example.com/installations
|
|
no_refresh: true
|
|
scopes:
|
|
- user:email
|
|
- read:org
|
|
extra_token_keys:
|
|
- extra
|
|
- token
|
|
device_flow: true
|
|
device_code_url: https://example.com/device
|
|
mcp_url: https://api.githubcopilot.com/mcp/
|
|
mcp_tool_allow_regex: .*
|
|
mcp_tool_deny_regex: create_gist
|
|
regex: ^https://example.com/.*$
|
|
display_name: GitHub
|
|
display_icon: /static/icons/github.svg
|