mirror of
https://github.com/coder/coder.git
synced 2026-10-24 11:43:39 +08:00
feat: allow storing extra oauth token properties in the database (#10152)
This commit is contained in:
Generated
+4
-1
@@ -453,6 +453,7 @@ export interface ExternalAuthConfig {
|
||||
readonly app_installations_url: string;
|
||||
readonly no_refresh: boolean;
|
||||
readonly scopes: string[];
|
||||
readonly extra_token_keys: string[];
|
||||
readonly device_flow: boolean;
|
||||
readonly device_code_url: string;
|
||||
readonly regex: string;
|
||||
@@ -1650,12 +1651,14 @@ export type EnhancedExternalAuthProvider =
|
||||
| "azure-devops"
|
||||
| "bitbucket"
|
||||
| "github"
|
||||
| "gitlab";
|
||||
| "gitlab"
|
||||
| "slack";
|
||||
export const EnhancedExternalAuthProviders: EnhancedExternalAuthProvider[] = [
|
||||
"azure-devops",
|
||||
"bitbucket",
|
||||
"github",
|
||||
"gitlab",
|
||||
"slack",
|
||||
];
|
||||
|
||||
// From codersdk/deployment.go
|
||||
|
||||
Reference in New Issue
Block a user