-
Notifications
You must be signed in to change notification settings - Fork 95
Replace the query access token method with headers #13
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
Conversation
Tokens are not a reliable way to communicate the token with SFDC. Randomly, connection will be dropped because of this.
|
Right on this page https://developer.salesforce.com/page/Digging_Deeper_into_OAuth_2.0_on_Force.com#highlighter_378011 you will see |
|
Interesting, thanks for this. Will take a look this eve. |
|
Hey @realdoug . This wasn't a big issue in our production apps until today. Every single oauth connection we tried was failing. We sourced from my gem which has the fix and it resolved itself. I think that Salesforce is rolling out OAuth changes incrementally and is now either live or more broadly reaching. |
|
We had the same experience, starting this morning. We also forked @sb8244's repo and this fixed the issue. |
|
Also, a few people are switching it from POST to GET to make it compatible 😨 |
|
We just started having the issue today and putting the access_token in the header fixes the issue for us. |
|
@realdoug is there any update on this? I don't want to be pushy or anything, but this actually makes unpatched omniauth-salesforce unusable for certain SFDC instances, so priority is pretty high |
|
@sb8244 no worries at all be as pushy as you like! I know I said I would look at this last week but was at dreamforce. Will test, merge & cut the new gem tonight. For sure :) |
Replace the query access token method with headers
|
I can see this fix was committed to master, which is great because it works like a charm 👍 great fix @sb8244 but it only works if I specify in my gemfile to pull from github master branch. Is any one else having this problem? I saw there is that issue #16 asks for a new gem release. Any news on this from anyone else? Thanks. |
|
You're exactly right @pulgaroja. @realdoug is probably going to bump version in the near future as everyone has responded back affirmatively |
|
Good to know, once again thank you very much @sb8244 |
|
The new version should be live on rubygems now. If you encounter any issues, the easiest/quickest way to get to me is probably to ping me on twitter. |
Query tokens are not a reliable way to communicate the token with SFDC. Randomly, SFDC will say no oauth token even though it is sent across the wire.