oauth-1.0a icon indicating copy to clipboard operation
oauth-1.0a copied to clipboard

How can a callback be specified in the Authorization header?

Open stormwild opened this issue 5 years ago • 2 comments

Hi is it possible to specify an oauth_callback in the OAuth options?

stormwild avatar Aug 28 '19 09:08 stormwild

you can send it in the oauth data:

const request_data = {
    url: 'https://bitbucket.org/api/1.0/oauth/request_token',
    method: 'POST',
    data: { oauth_callback: 'http://www.ddo.me' },
}

ddo avatar Aug 28 '19 11:08 ddo

@ddo Thank you will try that.

stormwild avatar Aug 28 '19 11:08 stormwild