-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update redirect-uri to localhost #20692
Changes from all commits
eb47471
5672f8a
f050086
afad7ad
b95e9af
84477e5
64f99f3
13632fd
2605e20
41ddf10
c9a7fe3
1171e81
5733bd9
863b3b9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this even used anywhere? Since we use our own custom account handler I didn't think there was anywhere in the app users could actually sign in to their Microsoft account. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this is used anywhere. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should have a SQL CARBON EDIT. But if it's not used anywhere I would suggest just reverting it - the fewer changes we make to VS Code stuff the easier merges are. |
||
const loginEndpointUrl = 'https://login.microsoftonline.com/'; | ||
const clientId = 'aebc6443-996d-45c2-90f0-388ff96faa56'; | ||
const tenant = 'organizations'; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per https://learn.microsoft.com/en-us/azure/active-directory/develop/reply-url#localhost-exceptions we should be using
127.0.0.1
instead oflocalhost
- although they also mention you have to do some wonky configuration to do that which seems odd...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw that too, but I think we'll just use localhost for now, that's also what SSMS is doing