Skip to content

Can't find a way to authenticate using token vs username/password #23

@droopy4096

Description

@droopy4096

I've tried several ways of using auth token:

tc=TeamCity('https://tc.my.com',auth=tc_token) 

and

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions