We have Bitbucket Server 6.10.0 and I am trying to connect SourceTree to it (4.0.2). We use Jira as our directory for users.
Because we use Okta for SSO, I created a personal access token, and specified my username (szachariah), the personal access token for the password, and protocol as HTTPS.
However I get a Login error: "We couldn't connect to Bitbucket Server with your (szachariah) credentials. Check your username and try the password again
I see the unauthorized in the bitbucket access log but I don't know why: