Path: blob/main/extensions/github-authentication/src/config.ts
3316 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45export interface IConfig {6// The client ID of the GitHub OAuth app7gitHubClientId: string;8gitHubClientSecret?: string;9}1011// For easy access to mixin client ID and secret12//13// NOTE: GitHub client secrets cannot be secured when running in a native client so in other words, the client secret is14// not really a secret... so we allow the client secret in code. It is brought in before we publish VS Code. Reference:15// https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/best-practices-for-creating-an-oauth-app#client-secrets16export const Config: IConfig = {17gitHubClientId: '01ab8ac9400c4e429b23'18};192021