Tyler Leonhardt
|
e485dc292f
|
improve logic around auth server
|
2022-02-06 14:56:22 -08:00 |
|
Tyler Leonhardt
|
eb295e4195
|
enable migration parts
|
2022-02-03 14:50:48 -08:00 |
|
Johannes Rieken
|
4a130c40ed
|
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
|
2022-02-02 14:35:33 +01:00 |
|
Tyler Leonhardt
|
f498b374c0
|
large refactor including new secret storage wrapper and overall code clean up and organization
|
2022-02-01 18:14:31 -08:00 |
|
Tyler Leonhardt
|
9403de257a
|
proposed api for an idToken on AuthenticationSession. ref #140929
|
2022-01-24 20:02:31 -08:00 |
|
Logan Ramos
|
c047af40b2
|
Fix compilation
|
2022-01-19 16:18:14 -05:00 |
|
Tyler Leonhardt
|
12902bc7a1
|
allow overridding of client id and tenant for microsoft auth
|
2022-01-14 14:36:34 -08:00 |
|
Matt Bierner
|
e7b3724e0c
|
Enable no-case-declarations in codebase (#139243)
Fixes #139236
This can catch tricky programming mistakes that cause a runtime error. See 7e266b2c42 as an example of the type of bug this can prevent
|
2021-12-15 17:15:35 -08:00 |
|
Tyler Leonhardt
|
53e8f2c26e
|
handle 4XX errors differently from others
|
2021-11-22 16:20:47 -08:00 |
|
Tyler Leonhardt
|
33a6ac6639
|
simplify polling when getting a network error
|
2021-11-22 15:28:13 -08:00 |
|
Tyler Leonhardt
|
f8b17200c1
|
refresh more often based on clock skew
|
2021-11-11 14:24:44 -08:00 |
|
Johannes Rieken
|
d90dd1355b
|
Merge branch 'main' into joh/vscode-dts
|
2021-11-10 08:40:26 +01:00 |
|
Tyler Leonhardt
|
dc553d6a3e
|
add additional logging and awaiting
|
2021-11-09 20:23:42 -08:00 |
|
Johannes Rieken
|
68e819043c
|
use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files
|
2021-11-09 15:53:35 +01:00 |
|
Johannes Rieken
|
9254a8cd27
|
move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165
|
2021-11-09 15:00:03 +01:00 |
|
Tyler Leonhardt
|
66b1668b66
|
wait if there's a refresh in progress
|
2021-11-05 17:01:21 -07:00 |
|
Tyler Leonhardt
|
e56b43a744
|
await storing of token data
|
2021-11-01 10:06:07 -07:00 |
|
Tyler Leonhardt
|
4d496f61bc
|
remove keytar fallback in keychain and add a ton more logging to microsoft auth. ref #133201
|
2021-10-25 11:16:37 -07:00 |
|
Tyler Leonhardt
|
a4a3e4e8b0
|
remove async executor of Promise ref #134873
|
2021-10-13 09:09:24 -07:00 |
|
Benjamin Pasero
|
3cda269c80
|
ESlint: enable no-async-promise-executor (#134873)
|
2021-10-12 10:50:44 +02:00 |
|
Tyler Leonhardt
|
c1b4cf00b9
|
update auth extensions to use packageJSON property instead
|
2021-07-23 11:48:39 -07:00 |
|
Tyler James Leonhardt
|
87d692b7bf
|
Add scopes property to login telemetry (#128261)
* Add scopes property to login telemetry
|
2021-07-08 21:48:44 -07:00 |
|
Tyler Leonhardt
|
f4e48a92dd
|
specify localhost for microsoft auth server
|
2021-07-06 11:07:46 -07:00 |
|
Tyler Leonhardt
|
15616f8d93
|
refactor codeExchangeProxy to use same route and use it for refresh token as well
|
2021-05-28 10:35:52 -07:00 |
|
Tyler Leonhardt
|
f1a5d40aa7
|
refactor getCallbackEnvironment to return authority by default
|
2021-05-26 11:54:15 -07:00 |
|
Rachel Macfarlane
|
05e970086c
|
Add missing change session events to ms auth provider
|
2021-03-17 15:57:11 -07:00 |
|
Oleg Demchenko
|
48be13acf8
|
Check if VSCode runs serverless (#118233)
In situations when VSCode runs as remote or serverless we should attempt
authentication flow without a local server.
|
2021-03-05 09:08:36 -08:00 |
|
Rachel Macfarlane
|
14669c2e45
|
Make scopes parameter optional to getSessions and remove getAllSessions
|
2021-02-12 09:13:11 -08:00 |
|
Rachel Macfarlane
|
263d4b75e2
|
Fix getSessions for microsoft auth provider
|
2021-02-11 16:46:47 -08:00 |
|
Rachel Macfarlane
|
eceff53351
|
Rename login/logout to createSession/removeSession
|
2021-02-11 16:46:47 -08:00 |
|
Rachel Macfarlane
|
650906c369
|
Pass scopes through to authentication providers
|
2021-02-11 14:15:36 -08:00 |
|
Rachel Macfarlane
|
9118a3461c
|
Make onDidChangeSessions event for auth providers fire complete session
|
2021-02-11 10:14:28 -08:00 |
|
Oleg Demchenko
|
582ea371c2
|
[microsoft-authentication] Extend authentication session to return id tokens (#114675)
|
2021-01-25 12:12:05 -08:00 |
|
Rachel Macfarlane
|
93ae815ba1
|
Feedback on secrets API #112249
|
2021-01-20 09:24:48 -08:00 |
|
Rachel Macfarlane
|
c85297669e
|
Move id, label, and options to authentication provider registration
|
2021-01-11 10:53:17 -08:00 |
|
Rachel Macfarlane
|
ced3bb4bb9
|
Secrets API feedback
|
2021-01-05 10:17:05 -08:00 |
|
Rachel Macfarlane
|
998e5e2ea6
|
onDidChangePassword -> onDidChange in secrets API
|
2021-01-04 22:20:07 -08:00 |
|
Rachel Macfarlane
|
7db413d4c1
|
Move secrets API to extension context
|
2021-01-04 22:04:40 -08:00 |
|
Rachel Macfarlane
|
9641ad2253
|
Don't use local server for signin in remote scenarios, fixes #104628
|
2020-11-17 15:10:27 -08:00 |
|
Rachel Macfarlane
|
102e0e6d84
|
Handle incomplete login requests gracefully, fixes #109102
|
2020-10-23 09:45:50 -07:00 |
|
Rachel Macfarlane
|
74ef0a92fe
|
Update callback url for ms authentication when not using local server
|
2020-10-17 09:45:19 -07:00 |
|
Rachel Macfarlane
|
31419adc34
|
Polish onDidChangePassword changes
|
2020-10-12 10:31:16 -07:00 |
|
Rachel Macfarlane
|
4c0811c9c2
|
Removing polling from auth extensions, fixes #107480
|
2020-10-09 16:33:53 -07:00 |
|
Rachel Macfarlane
|
dafce599a6
|
Add getPassword, setPassword, and deletePassword APIs, #95475
Co-authored-by: SteVen Batten <sbatten@microsoft.com>
|
2020-10-06 14:57:16 -07:00 |
|
olegoid
|
f19ccd13c2
|
Made id_token optional in ITokenResponse
According to:
https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow#successful-response-1
|
2020-10-01 21:01:29 +02:00 |
|
olegoid
|
c98463a24c
|
Add support for opaque AAD access tokens
|
2020-10-01 21:01:29 +02:00 |
|
Rachel Macfarlane
|
403a6895f4
|
#106321, Don't retry token refresh if the response was not ok
|
2020-09-17 19:39:09 -07:00 |
|
Rachel Macfarlane
|
2e10ab2a95
|
Possibly improve logging on token refresh fail
|
2020-09-16 15:39:43 -07:00 |
|
Oleg Demchenko
|
352a390251
|
Add preferred_username to the list of msft token claims (#106511)
|
2020-09-11 12:38:03 -07:00 |
|
Rachel Macfarlane
|
c7c6c5cde1
|
Fix #105503
|
2020-09-01 17:31:05 -07:00 |
|