Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can a callback be specified in the Authorization header? #94

Open
stormwild opened this issue Aug 28, 2019 · 2 comments
Open

How can a callback be specified in the Authorization header? #94

stormwild opened this issue Aug 28, 2019 · 2 comments

Comments

@stormwild
Copy link

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

@ddo
Copy link
Owner

ddo commented Aug 28, 2019

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' },
}

@stormwild
Copy link
Author

@ddo Thank you will try that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants