I am trying to connect to my bitbucket cloud workspace from another system (XL Release) using Oauth2. I have created a client ID and secret key as per the instructions (https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/)
When attempting to connect I am getting the following error on XL Release:
Can't connect to Bitbucket Cloud.
Exception: HTTP response code 401 (Unauthorized)
I have provided the Access token URL as https://bitbucket.org/site/oauth2/access_token
I am not sure if I am missing anything.
Documentation is not clear and also there is no option to check the logs to see if I am able to hit the Bitbucket URL or not.
Any help would be appreciated.
Thanks a lot.