File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -735,14 +735,14 @@ export async function fetchDynamicRegistration(serverMetadata: IAuthorizationSer
735
735
redirect_uris : [
736
736
'https://insiders.vscode.dev/redirect' ,
737
737
'https://vscode.dev/redirect' ,
738
- 'http://localhost/ ' ,
739
- 'http://127.0.0.1/ ' ,
738
+ 'http://localhost' ,
739
+ 'http://127.0.0.1' ,
740
740
// Added these for any server that might do
741
741
// only exact match on the redirect URI even
742
742
// though the spec says it should not care
743
743
// about the port.
744
- `http://localhost:${ DEFAULT_AUTH_FLOW_PORT } / ` ,
745
- `http://127.0.0.1:${ DEFAULT_AUTH_FLOW_PORT } / `
744
+ `http://localhost:${ DEFAULT_AUTH_FLOW_PORT } ` ,
745
+ `http://127.0.0.1:${ DEFAULT_AUTH_FLOW_PORT } `
746
746
] ,
747
747
scope : scopes ?. join ( AUTH_SCOPE_SEPARATOR ) ,
748
748
token_endpoint_auth_method : 'none' ,
Original file line number Diff line number Diff line change @@ -311,10 +311,10 @@ suite('OAuth', () => {
311
311
assert . deepStrictEqual ( requestBody . redirect_uris , [
312
312
'https://insiders.vscode.dev/redirect' ,
313
313
'https://vscode.dev/redirect' ,
314
- 'http://localhost/ ' ,
315
- 'http://127.0.0.1/ ' ,
316
- `http://localhost:${ DEFAULT_AUTH_FLOW_PORT } / ` ,
317
- `http://127.0.0.1:${ DEFAULT_AUTH_FLOW_PORT } / `
314
+ 'http://localhost' ,
315
+ 'http://127.0.0.1' ,
316
+ `http://localhost:${ DEFAULT_AUTH_FLOW_PORT } ` ,
317
+ `http://127.0.0.1:${ DEFAULT_AUTH_FLOW_PORT } `
318
318
] ) ;
319
319
320
320
// Verify response is processed correctly
You can’t perform that action at this time.
0 commit comments