[英]Salesforce databasedotcom gem: Query doesn't return right results
I'm currently using the databasedotcom gem to authenticate and connect to Salesforce. 我目前正在使用databasedotcom gem进行身份验证并连接到Salesforce。 So a user on my app signs in to salesforce and then I can show their organization Users by materializing the User table and doing SF::User.all. 因此,我应用程序上的用户登录到salesforce,然后可以通过实例化用户表并执行SF :: User.all来显示其组织用户。
Now, this works, but sometimes, it returns another users details. 现在,此方法可行,但有时会返回另一个用户详细信息。
The authentication token is mine at all times though. 身份验证令牌始终是我的。
Help is appreciated. 感谢帮助。
I recently ran into a very similar issue using Twitter and Oauth. 最近,我使用Twitter和Oauth遇到了一个非常相似的问题。 Are you using a global configuration of some sort? 您是否正在使用某种全局配置? Check out the Thread safety section here: https://github.com/sferik/twitter#thread-safety I think it might be relevant. 在这里查看“线程安全性”部分: https : //github.com/sferik/twitter#thread-safety我认为这可能是相关的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.