I am trying to connect to the BitBucket API using OAuth-2 and using a OAuth2 client script.
I get to the redirect page where its says "Confirm access to your account" and I click on "Grant access" in which it redirects me back to my callback url. But I get an error messaged saying "unauthorized client" with the description:
Client credentials missing; this request needs to be authenticated with the OAuth client id and secret
I am providing the client id and client secret so I'm not sure where the problem is. I've searched on this topic for a while now but the information is limited.
Any help would be appreciated.