gistpad icon indicating copy to clipboard operation
gistpad copied to clipboard

Allow managing multiple user profiles

Open johnafogarty4 opened this issue 5 years ago • 4 comments
trafficstars

It would be helpful for those of us with multiple GIT accounts if there was a simple way to swap between them.

johnafogarty4 avatar Mar 29 '20 12:03 johnafogarty4

Hey! So you’d like to log into GitHub with multiple different tokens, and have a simple way to label them (e.g. work vs personal) and switch between them? That makes total sense, I just wanted to ensure I understand what you were thinking 👍

lostintangent avatar Mar 29 '20 14:03 lostintangent

That is exactly what I am looking for. Thank you for understanding.

johnafogarty4 avatar Mar 29 '20 15:03 johnafogarty4

Hi, Here is an example of the implementation https://github.com/kenhowardpdx/vscode-gist#github-profiles

Akv2021 avatar Nov 21 '20 19:11 Akv2021

With the switch to VS Code's native authentication removing apiURL, I'm wondering if this is what's holding me back from being able to use Enterprise? I have both my github.com and GHE accounts authenticated natively and showing in the Accounts menu. But only gists from my .com account show and I can't seem to flip?

image

Edit: well, I ended up removing my .com auth leaving only GHE, and it won't recognize that native auth. GistPad wants to kick me out to .com to authenticate. Seems like GHE is broken now? Will keep looking for other issues updating that.

chrishas35 avatar Oct 07 '21 16:10 chrishas35

I'm going close this as a duplicate of #96, since the core gap in GistPad is the ability to support GHE. And since VS Code is managing the user authentication sessions, I'd want to rely on them for supporting profiles, as opposed to trying to implement it myself.

lostintangent avatar Dec 10 '23 01:12 lostintangent