--auth-type basic ask for personal access token
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- authentication, cli
Research direction
Reproduce the tfx.cmd extension publish command with --auth-type basic and compare it with --auth-type pat, starting by tracing how each mode handles authentication and formats a 401 response. Done means basic-auth failures no longer mention personal access tokens, while valid basic credentials still work as expected.
Written by the indexing model from the issue text.
Description
When I execute
tfx.cmd extension publish --json --no-color --service-url https://my-server.de/ --auth-type basic --username Myuser --password *** --vsix Pub.MyPackage-1.0.2.gen.vsix --debug-log-stream stderr
the tfx-cli returns:
error: Received response 401 (Not Authorized). Check that your personal access token is correct and hasn't expired.
I can confirm that my passed credentials are valid. Anyway I would expect that the error tells me something about a basic auth issue, not about a personal access token what I would expect when I use --auth-type pat.
Do --auth-type basic works correct?
- Dominant language
- TypeScript
- Stars
- 386
- Forks
- 142
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 7
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/tfs-cli
-
Area: tfx-cli DevOps enhancement
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Area: tfx-cli triage
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Area: tfx-cli triage
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Area: tfx-cli triage
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Area: tfx-cli triage
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in microsoft/tfs-cli
Similar issues
-
S: triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
fix(errors): EHOSTUNREACH from a happy-eyeballs connect is reported as a resolver error (STAMP-80) Open
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
snapshot-labs/stamp#666 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
GauravKarakoti/SecureFlow#1070 · 1 comment ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·