mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 04:53:33 +01:00
depend on redirect route within Microsoft auth (#145263)
* depend on redirect service * better server query parameter handling
This commit is contained in:
committed by
GitHub
parent
429a9d8ff1
commit
00888f774d
@@ -155,6 +155,10 @@ export class LoopbackAuthServer implements ILoopbackServer {
|
||||
}
|
||||
|
||||
clearTimeout(portTimeout);
|
||||
|
||||
// set state which will be used to redirect back to vscode
|
||||
this.state = `http://127.0.0.1:${this.port}/callback?nonce=${encodeURIComponent(this.nonce)}`;
|
||||
|
||||
resolve(this.port);
|
||||
});
|
||||
this._server.on('error', err => {
|
||||
|
||||
Reference in New Issue
Block a user