mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
feat: Add no_refresh
option to Git auth configs (#5097)
This allows organizations to disable refreshing Git tokens and instead prompt for authentication again.
This commit is contained in:
@ -125,6 +125,7 @@ type GitAuthConfig struct {
|
||||
AuthURL string `json:"auth_url"`
|
||||
TokenURL string `json:"token_url"`
|
||||
Regex string `json:"regex"`
|
||||
NoRefresh bool `json:"no_refresh"`
|
||||
Scopes []string `json:"scopes"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user