-
Notifications
You must be signed in to change notification settings - Fork 118
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
Doesn't seem to handle "realm" properly. #50
Comments
working on it soon |
please checkout the newest code and test with your oauth service. the new options is var oauth = new OAuth({
consumer: {
key: "batch-dbc2cd8c-6ca8-463b-96e2-6d8683eac6fd",
secret: "4S4Rvm25CJZWv7HBg5HOhhlRTBSZ7npl"
},
realm: "https://ddo.me/",
signature_method: 'HMAC-SHA1',
hash_function: hash_function_SHA1
}); i will public on npm after your tests. ty |
Will do later today, thanks! |
Hi there @ddo, I've been working @jt55401. He figured out the workaround when I was unable implement the library using a realm. I pulled the latest code into the my project and reconfigured my connection script to follow the format that you outlined above. Connection was successful using the new realm option! Thanks all. |
does your realm contain any non alphabet characters such as |
in our case, no. |
so everything ok? |
Yes, works great now! |
The method we're calling requires the use of the Oauth realm, and we tried specifying that in the request_data.data map we sent do the oauth.authorize method. This "almost worked", but not quite.
Issues:
We worked around for now by NOT specifying the realm in the data, and instead, manually adding it before use...
The text was updated successfully, but these errors were encountered: