ontometrics / slack-youtrack

Integration of slack and you track.
49 stars 14 forks source link

Cannot authenticate using credentials mode #15

Closed yuvalbl closed 8 years ago

yuvalbl commented 8 years ago

Hello

I could not authenticate using AUTH_TYPE=credentials

For building the wor file I've used maven console with the following: (real credencials and urls were edited, the rest is real data)

mvn -DYOUTRACK_USERNAME=MY_USER_NAME -DYOUTRACK_PASSWORD=MY_PASSWORD -DSLACK_WEBHOOK_PATH=services/T04D9APSK/B1E80FYG5/oKyPkzu7DvNHa83g5dz6qqby -DAPP_DATA_DIR=/opt/slack-youtrack -DYOUTRACK_URL=http://1.1.1.1:8080 -DYOUTRACK_HOST=http://1.1.1.1:8080 -DISSUE_HISTORY_WINDOW=10 -DDEFAULT_SLACK_CHANNEL=testy package

we currently using HTTP and not HTTPS for our youtrack service, in case it can be problematic

Server Log slack2youtrack_issue

jrand0m commented 8 years ago

Hi, i've done the fix if you're still interested.

codeslubber commented 8 years ago

Sure. Definitely.

jrand0m commented 8 years ago

made a pull request #16 with changes.