Commit Graph

64 Commits

Author SHA1 Message Date
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
Robo
bce4d71f64 chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
Sandeep Somavarapu
ac151b40a5 enable virtual workspace capability 2021-04-23 10:20:23 +02:00
SteVen Batten
f9fc28d47d update ext manifest schema validation and built-in exts 2021-04-21 11:54:42 -07:00
Miguel Solorio
ac48f78dd6 Add icons for built-in extensions (fixes #81760) 2021-04-20 12:09:24 -07:00
Rachel Macfarlane
296c417c07 Add workspace trust property to auth extensions 2021-04-15 09:22:15 -07:00
SteVen Batten
9c00242866 updating telemetry module for built-in exts 2021-03-22 16:28:08 -07:00
Matt Bierner
c0885dd0c4 Add task to build extension media (#119294)
This lets us avoid checking in the compiled js files that are used inside webviews and notebooks
2021-03-18 19:15:59 -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
Sandeep Somavarapu
bc62648b05 Revert "Remove authentication provider package.json declaration"
This reverts commit 811dc8d45a.
2021-03-05 14:02:57 +01:00
Rachel Macfarlane
811dc8d45a Remove authentication provider package.json declaration 2021-03-01 14:11:26 -08:00
Ladislau Szomoru
992cf6bd44 Update node-fetch (#116560) 2021-02-13 10:28:08 +01: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
João Moreno
ec805db5ed add repository field to extensions package.json 2021-01-29 15:30:45 +01:00
João Moreno
9a5d14e307 run prettier over extensions json files 2021-01-29 15:19:18 +01: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
Alexandru Dima
f74ad9692f Align @types/* dev dependencies (#112718) 2020-12-18 13:28:39 +01:00
Alexandru Dima
65c59b509b Merge pull request #112798 from microsoft/alex/node-modules-types-keytar
Use the root typings for keytar since we are loading the root node module
2020-12-18 10:56:01 +01:00
Alexandru Dima
aa2864d53f Remove most of the yarn license warnings 2020-12-18 10:26:14 +01:00
Alexandru Dima
2dd359c715 Use the root typings for keytar since we are loading the root node module (#112718) 2020-12-18 09:39:10 +01:00
Alexandru Dima
e0498f0cdd Share typescript node module (#112718) 2020-12-17 20:58:11 +01: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
Rachel Macfarlane
650197b991 Add authentication contribution point, #103507 2020-08-27 11:51:18 -07:00
Rachel Macfarlane
a6103e8faa Fix Buffer reference in browser for ms auth 2020-08-26 15:20:45 -07:00
Rachel Macfarlane
12f63d9c66 Stabilize authentication consumer side, fixes #100993 2020-07-28 09:58:16 -07:00
Alex Dima
6c99a9fca9 Fix that microsoft-authentication is a web extension 2020-07-27 14:23:10 +02:00
Rachel Macfarlane
33659eda9f Add codeExchangeProxyEndpoints to web api 2020-07-24 12:46:15 -07:00
Rachel Macfarlane
3c96ef7d89 Update Microsoft auth callbacks 2020-07-24 09:11:50 -07:00