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

Error reports I'm unauthorized to access my repo, without giving me a chance to enter credentials #16

Closed
CDuke opened this issue Jan 11, 2015 · 3 comments

Comments

@CDuke
Copy link
Owner

CDuke commented Jan 11, 2015

Originally reported by: Jonathan Hobbs (Bitbucket: jdahobbs, GitHub: jdahobbs)


I've installed the latest Sublime TFS in Sublime Text 3, and attempted to use it to check out a file or Get Latest. When I do, the status bar indicates it's working for a couple of seconds, then I get the following error in the status bar:

TF30063: You are not authorized to access foo.

('foo' here is a placeholder for the name of the repository I'm working with.)

At no point am I actually offered the option to enter any credentials.

I presume that it might be using my current Windows account as credentials. There is a complication with that: I have more than one Windows account in this environment. I use one to log in to a VM and work on Sublime, whilst there is a different account which I use to log in to TFS.

If it uses my current account by default, that seems like useful behaviour I wouldn't ask to have taken away.

However, in the case we need to actually provide credentials, could we be offered the option to do that? The method currently in mind would be to have an item in the TFS menu named "Provide credentials...", which just pops up a log in dialog that we'll use to log in to TFS.


@CDuke
Copy link
Owner Author

CDuke commented Jan 20, 2015

Original comment by Konstantin Kabanov (Bitbucket: DarkOverlord, GitHub: DarkOverlord):


It's possible to implement this feature.
Almost every tfs command has an option: /login:username,[password].

@CDuke
Copy link
Owner Author

CDuke commented Jan 26, 2015

Original comment by Konstantin Kabanov (Bitbucket: DarkOverlord, GitHub: DarkOverlord):


Hi, @jdahobbs.
Check new version. Is it ok?

@CDuke
Copy link
Owner Author

CDuke commented Jan 27, 2015

Original comment by Jonathan Hobbs (Bitbucket: jdahobbs, GitHub: jdahobbs):


This works very well. Thank you, Konstantin.

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

No branches or pull requests

1 participant