Sorry to hear about this problem with logging into a Bitbucket account from Sourcetree. However this is not just you that is having this problem. There is currently an outage in regards to Bitbucket Cloud's OAuth tokens are not working correctly. This is the cause of the inability to login here and in turn showing that 'Invalid redirect_uri' error message.
Atlassian has just updated our StatusPage about this incident that you can use to track this problem in https://bitbucket.status.atlassian.com/incidents/l50d1j43zdj9
I would recommend subscribing or watching that incident for update. Once this incident is resolved I would expect that you should then be able to use Sourcetree without this error.
Sorry again for the inconvenience here.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events