Comments (9)
It was downgraded to resolve a specific PUT/POST issue in Xero I believe.
Xero was supporting non-standard syntax and was broken with the newer
version of the gem.
I'm not sure if Xero has fixed this or not.
On 06/08/2013, at 2:50 AM, Zack Xu [email protected] wrote:
Hi.
I updated xeroizer to the latest version 2.15.5, however, I noticed this
depends on oauth 0.4.5.
So in our gem bundle, oauth was downgraded from 0.4.7 to 0.4.5 as a result
of the xeroizer update.
Is there any reason for this specific dependency? In other words, can
xeroizer be updated to work with oauth 0.4.7?
Would this oauth downgrade to 0.4.5 have any negative impact? for anyone
who has done this.
Thanks!
Zack
—
Reply to this email directly or view it on
GitHubhttps://github.com//issues/95
.
from xeroizer.
Thanks for the comment, Wayne.
from xeroizer.
I contacted Xero support about this, and here's their response (email sent from technical support):
"I had a chat about this with one of the developers and unfortunately he said it is not fixed.
He suggested though that you might want to create a fork for Xeroizer and update it yourself with the latest OAuth gem to see if it will works.
Sorry we can't be much of help at this time."
from xeroizer.
This was locked with commit 27c0a48 Shame there's not more info. It simply states
Corrects some issues with signatures being invalid for PUT requests
from xeroizer.
The issue was specifically with Xero not being able to accept PUT requests
with a more modern syntax offered by later versions of OAuth.
I can't recall the actual error, but there was an issue that, after
consultation with the Xero team with them accepting PUT requests correctly.
Keeping OAuth back resolved this issue. You're welcome to test upgrading
and attempting requests against the API that will use PUT and see if Xero
has resolved these issues.
On Monday, March 17, 2014, Scott [email protected] wrote:
This was locked with commit 27c0a4827c0a483268b1cba3cca7c5c4d826ad474efebebShame there's not more info. It simply states
Corrects some issues with signatures being invalid for PUT requests
Reply to this email directly or view it on GitHubhttps://github.com//issues/95#issuecomment-37783027
.
from xeroizer.
Apologies if this came across as a request for work. I was simply trying to add some references to the issue as I was looking in to it and thought it could be useful to others. I'm not currently affected by it but was intrigued by the change. With your extra info I've found the related conversation and commit here (with comments from the Xero team) : oauth-xx/oauth-ruby#34
Thanks for a fantastic gem!
from xeroizer.
Not a problem. It's possible Xero has fixed this now. At some point the
Xero API needs testing against the newer Gem.
On 17 March 2014 15:21, Scott [email protected] wrote:
Apologies if this came across as a request for work. I was simply trying
to add some references to the issue as I was looking in to it and thought
it could be useful to others. I'm not currently affected by it but was
intrigued by the change. With your extra info I've found the related
conversation and commit here (with comments from the Xero team) :
oauth-xx/oauth-ruby#34 oauth-xx/oauth-ruby#34
Thanks for a fantastic gem!Reply to this email directly or view it on GitHubhttps://github.com//issues/95#issuecomment-37784181
.
from xeroizer.
Any progress on getting this updated to use OAuth 0.4.7 or opening an issue in OAuth?
https://github.com/oauth-xx/oauth-ruby
from xeroizer.
Resolved in #166
from xeroizer.
Related Issues (20)
- Question: Does Xeroizer support OAuth 2? HOT 2
- `.sent_to_contact` on Invoices is undefined HOT 3
- Update the readme/documentation to include Oauth2Application HOT 2
- Xero Deprecation Notice - OAuth 1.0a HOT 1
- Timeout option not set correctly on OAuth 2 client HOT 3
- invoice.save returns false but invoice.errors is empty HOT 15
- New gem release? HOT 6
- How to get all the Items from Xero account HOT 1
- NameError: uninitialized constant Xeroizer::OAuth2Application HOT 4
- Double raise for expired tokens? HOT 2
- GET ERROR WHE do any object.save HOT 2
- trying to run tests as a developer... HOT 5
- syntax error, unexpected ',' in branding_theme.rb HOT 1
- Line Amount can not explicity be set to 0.00 if there is a discount
- Missing require somewhere: "uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState" when used outside of Rails HOT 3
- AuthorizationUnsuccessful error HOT 2
- ApiExceptions result in parse error
- Saving Quotes
- BankAccount Model Not Available?
- How to revoke token / delete current_connection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xeroizer.