Skip to content
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

Document the liveshare.{account,accountProvider} Settings #532

Closed
derekclair opened this issue Jun 12, 2018 — with docs.microsoft.com · 4 comments
Closed

Document the liveshare.{account,accountProvider} Settings #532

derekclair opened this issue Jun 12, 2018 — with docs.microsoft.com · 4 comments
Assignees
Labels

Comments

Copy link

I've been trying to figure out how to configure both the "liveshare.account" & "liveshare.accountProvider" settings. The best I could come up with was that they're expected to be type: string (from the Extensions package.json file...). I would rather have sent a PR than Feedback, but that's the best I could do. Could you offer any clarification on those two settings?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@daytonellwanger
Copy link
Collaborator

I think these settings are probably deprecated.
@jasongin to provide more information.

@jasongin
Copy link
Member

They are not deprecated, but they are rarely needed. They enable you to select which account should be used for automatic sign-in in case you have cached credentials for multiple accounts available.

For example, imagine you work on 2 projects with which you want to sign in with different identities. You could set the "liveshare.account" setting to different email addresses in each project directory to ensure they each automatically sign-in with the correct account. The "liveshare.accountProvider" setting could be set to either "microsoft" or "github" in case you use the same email address with multiple providers.

@Luckz
Copy link

Luckz commented Apr 13, 2021

Can the signed-in account itself be remembered across sessions? When do 'cached credentials' expire? This seems a little unclear.

@LongLiveCHIEF
Copy link

They are not deprecated

Is this still the case?

I want to get rid of the pop-up prompt to choose either microsoft or github each time i start a session, and it also makes it easier to share docs with teamates on the settings that make it work within our network. Sharing a small json snippet and then it just works is much easier than telling/documenting "look for popup, choose selection, " ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants
@Luckz @Chuxel @LongLiveCHIEF @derekclair @daytonellwanger @Mikejo5000 @jasongin and others