mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
bc27274aba
- Adds `_API_BASE_URL` to `CODER_EXTERNAL_AUTH_CONFIG_` - Extracts and refactors existing GitHub PR sync logic to new packages `coderd/gitsync` and `coderd/externalauth/gitprovider` - Associated wiring and tests Created using Opus 4.6
30 lines
868 B
YAML
30 lines
868 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
|
|
revoke_url: https://example.com/revoke
|
|
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/.*$
|
|
api_base_url: ""
|
|
display_name: GitHub
|
|
display_icon: /static/icons/github.svg
|
|
code_challenge_methods_supported:
|
|
- S256
|