You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All examples on dohq TeamCity use user/password as authentication.
Unfortunately, the organization I am in right now only use smart card and I have to use token based authentication.
I read the api_client.py file that is part of the package, but I can't really make out how to set the token.
Using standard header, you need to set "Bearer " (like curl --header "Authorization: Bearer "), but I can't see how this is done with:
tc = TeamCity(url, auth=(user, passwd))
Any help would be greatly appriciated.
Thanks in Advance,
Richard
The text was updated successfully, but these errors were encountered:
Hi,
All examples on dohq TeamCity use user/password as authentication.
Unfortunately, the organization I am in right now only use smart card and I have to use token based authentication.
I read the api_client.py file that is part of the package, but I can't really make out how to set the token.
Using standard header, you need to set "Bearer " (like curl --header "Authorization: Bearer "), but I can't see how this is done with:
tc = TeamCity(url, auth=(user, passwd))
Any help would be greatly appriciated.
Thanks in Advance,
Richard
The text was updated successfully, but these errors were encountered: