-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bitbucket authorization #10
Comments
Hi @manfe513. For TeamCity plugins the TeamCity server provides authentication before any of the plugin code is executed. The easiest authentication method provided by TeamCity is to create a bearer token. TeamCity uses the name "personal token" because the token maps to a user's account in TeamCity. I'm not sure what you mean by "non-personal token". After you referring to hmac as per your first question? |
It looks like it is possible to use basic authentication instead of a bearer token to authenticate with teamcity. There is a style of constructing a URL that includes the username and password. I have just tested it with curl, and it worked against my TeamCity dev server.
You might be able to configure a similar URL in bitbucket that includes the username and password. |
@netwolfuk Didn't know there's a possibility to provide credentials via URL that way - cool! |
You could try using the token as the password, but I don't think it works. |
Thanks for your response! |
Hi,
thank you for plugin!
I've tried to setup it with bitbucket webhooks, but encountered a situation:
Bitbucket webhook sends a request with body signed by auth token via HMAC
i.e. it doesn't add the Authorization header to request
Can you somehow help me to solve this situation? I'm not familiar with plugin creating process
You've mentioned this plugin uses personal token, can you somehow help me to make it use non-personal Teamcity token?
The text was updated successfully, but these errors were encountered: