Can't find a way to authenticate using token vs username/password
- Dominant language
- Python
- Stars
- 36
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
I've tried several ways of using auth token:
```python
tc=TeamCity('https://tc.my.com',auth=tc_token)
```
and
```python
tc.set_default_header(header_name='Authorization', header_value='Bearer {token}'.format(token=tc_token))
```
all unsuccessful with HTTP 404 error. `HTTP response body: Invalid authentication request or authentication scheme is not supported`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the two authentication attempts shown in the issue: TeamCity(..., auth=tc_token) and set_default_header(...). Inspect the package's authentication entry points and compare their requests with the TeamCity server's supported token scheme; done means token authentication either works or its supported usage and failure behavior are clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100