Update redirect-uri to localhost (#20692)

* wip

* change clientId

* change redirect-uri to localhost

* change clientId to staging env

* wip, using ppe endpoint

* management-preview

* change back management endpoint

* localhost/redirect

* wip

* route redirect

* change back to prod endpoints/clientId

* add error handling
This commit is contained in:
Christopher Suh
2022-09-30 11:59:53 -04:00
committed by GitHub
parent 98320584a2
commit 2a3e41e821
3 changed files with 23 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ import { MicrosoftAuthenticationSession } from './microsoft-authentication';
const localize = nls.loadMessageBundle();
const redirectUrl = 'https://vscode-redirect.azurewebsites.net/';
const redirectUrl = 'http://localhost/redirect';
const loginEndpointUrl = 'https://login.microsoftonline.com/';
const clientId = 'aebc6443-996d-45c2-90f0-388ff96faa56';
const tenant = 'organizations';