Using a bitbucket consumer to create issues on a repository

Hello,

I’m currently working on a node application that needs to be able to create issues on a bitbucket repository. I’ve created a consumer and have my Key and Secret for the consumer, but I can’t find anything on how I’m supposed to get an oauth token for that consumer to then use for a request. I’ve tried using the calls here: https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html

I’ve tried pretty much all of the URLs and none have worked for me.

Any help would be appreciated.

@sullivan-bormannaj - have you seen the Bitbucket Cloud docs at https://developer.atlassian.com/cloud/bitbucket/oauth-2/ ?

I have, but it seems they are the same instructions as the source I posted. I also noticed that all of you examples use curl. Is there a way to send the client ID in a HTTP header or elsewhere in order to get the token in a javascript application? Thanks.