mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Enable the broker in macOS (#261148)
* Enable the broker in macOS Fixes https://github.com/microsoft/vscode/issues/260158 * for testing * better globbing * guh * guh * delete * log it all * let's just log everything * Only do on supported OS/Arches * Add a console.log * look at VSCODE_ARCH * add msal files * add entitlement maybe here * actually it's probably here * build: bundle msal libs for x64 and arm64 * revert that * try again * try adding $(AppIdentifierPrefix) * temp: add debuggee entitlements * bump msal and pass in redirect uri on macOS * revert entitlement files * forgot the .helper * Allow PII for the output channel only * use unsigned option --------- Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
committed by
GitHub
parent
543ea0e80d
commit
da3cf78129
19
extensions/microsoft-authentication/src/common/config.ts
Normal file
19
extensions/microsoft-authentication/src/common/config.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
export interface IConfig {
|
||||
// The macOS broker redirect URI which is dependent on the bundle identifier of the signed app.
|
||||
// Other platforms do not require a redirect URI to be set. For unsigned apps, the unsigned
|
||||
// format can be used.
|
||||
// Example formats:
|
||||
// msauth.com.msauth.unsignedapp://auth or msauth.<bundleId>://auth
|
||||
macOSBrokerRedirectUri: string;
|
||||
}
|
||||
|
||||
export const Config: IConfig = {
|
||||
// This is replaced in the build with the correct bundle id for that distro.
|
||||
macOSBrokerRedirectUri: 'msauth.com.msauth.unsignedapp://auth'
|
||||
};
|
||||
Reference in New Issue
Block a user