问题标签 [yahoo-oauth]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - 通过 OAuth 进行 Yahoo 身份验证,无需任何重定向(客户端)。可能吗?
有没有办法在没有任何重定向或刷新我的应用页面的情况下进行 oauth 身份验证(获取用户令牌和机密)。
所以流程应该是:
- 用户点击“使用 Yahoo! 登录” 按钮
- 弹出登录表单,然后出现访问表单。
- 当用户允许应用程序获取他的信息弹出窗口并以 JSON 格式返回信息时
- Javascript 回调函数可以读取用户的令牌和秘密。
我搜索了很多,但没有找到解决方案。你能告诉我这是否可能并给我一个提示我应该搜索什么或应该使用什么?如果您提供一些示例代码,我将非常高兴。
LinkedIn、Facebook 和 Twitter 有自己的 JS SDK 或/和 JSAPI,其中包括身份验证并且效果很好。我在雅虎上没有找到类似的东西。
google-app-engine - GAE : 雅虎、谷歌和 Facebook 登录支持
通过 Google Application Engine,我想为我的应用程序中的用户添加 Yahoo、Google 和 Facebook 登录选项。
由于 Facebook 不支持使用 openid 的联合登录,我如何在我的应用程序中使用 JavaScript 为所有 facebook、yahoo 和 google 实现登录选项?
OAuth 是实现所有三个 facebook、yahoo 和 google 登录选项的唯一方法吗?如果是,是否有任何示例代码可以参考使用 a. java脚本+谷歌云端点?湾。Java 小服务程序?
java - Yahoo Oauth inconsistent "Invalid Signature"
H!I am having a very hard time with Yahoo Oauth right now.
So here's the problem, I am using scribe 3.1.5 and followed Yahoo's documentations(apparently they use Oauth1.0), I've been able to get the request token, then trade for the access token with the verifier. The problem emerges when I try to get user's GUID from URL http://social.yahooapis.com/v1/me/guid?format=json with the access token.
now, what's interesting is that, yahoo would sometimes give me the GUID back, and sometimes give me a "invalid signature" error. Sometimes I get 5 invalid signatures in a row, sometimes I get 15 successful calls in a row, most of the time it is like 40% invalid signatures and 60% success. What is even weirder is that sometimes I get a success when fetching GUID, but when i try to fetch user's profile IMMEDIATELY after the success with the identical access token and GUID, it gives me an invalid sigature...(wtf)
so here's the code I use:
Redirecting User:
Getting callback:
YahooService::Getting Access Token:
YahooService::Getting GUID:
YahooService::Getting User Email:
I know YahooAPI class in Scribe 3.1.5 in maven distribution is like 2 years old, but I doubt it would lead to such inconsistent behavior. Scribe's built in support for Google and Live oauth is basically useless, unfortunately, unlike Google or Hotmail which both have awesome doc so that I could basically figure out everything myself, Yahoo's doc stops at getting the access token, I can not find useful explanation on why I would get an invalid signature SOMETIMES with my access token
Please help! Thanks in advance
ruby-on-rails - 雅虎 OAuth 1.0 回调问题?
我想在我的 Web 应用程序中使用 Yahoo Fantasy Sport API,为此我使用 OAuth 进行 Yahoo 登录。我有消费者密钥和秘密密钥,当我运行以下代码时,我成功传递了密钥。它重定向到雅虎登录,它要求访问用户凭据的权限。如果我同意页面重定向到https://api.login.yahoo.com/oauth/v2/request_auth并显示验证码。如果我在验证码页面中按下关闭按钮,它不会回调我的 URL。
你能告诉我要进行哪些更改以获取回调以获取 access_token。
symfony - 未定义索引:使用 yahoo 时的 oauth_problem HWIOAuthBundle
我已集成 FOSUserBundle 和 HWIOAuthBundle,如http://m2mdas.github.io/blog/2013/11/21/integrate-hwioauthbundle-with-fosuserbundle/中所述
它适用于 twitter、facebook、linkedIn。但是在创建新项目应用程序后使用雅虎并按照我的项目中的说明进行配置,当使用雅虎时它显示给我
ContextErrorException:注意:未定义索引:C:\xxxx\vendor\hwi\oauth-bundle\HWI\Bundle\OAuthBundle\OAuth\ResourceOwner\GenericOAuth1ResourceOwner.php 第 163 行中的 oauth_problem
所以,请谁能帮我解决这个问题?!
oauth - 使用 oauth 为 google、yahoo、twitter 服务提供商获取 emailId 的终点是什么?
我正在使用谷歌 appengine java web 应用程序。我正在尝试将 OpenId 身份验证放在我的项目中。我正在使用 scribe 来实现这一点。我能够从 google、yahoo、twitter 服务提供商处获取访问令牌。
- 获取Access Token后,需要获取当前登录的用户邮箱。我为谷歌使用 OAuth2.0,为雅虎和推特使用 OAuth1.0a。
任何建议,将不胜感激。
c# - 使用 Yahoo OAuth 时出现“access_denied”
我有一个迁移到 ASP.NET Identity 的 ASP.NET MVC 5 应用程序,并且正在实施 OAuth 身份验证。在迁移之前,我使用的是带有 OpenID 的 Yahoo,它确实有效,但不再受支持。
所有常见的提供商(谷歌、MS、Facebook ......)都工作正常,但我无法让雅虎工作。
我正在使用THIS提供程序。
当我进行身份验证时,一切看起来都很好,直到它回到我的页面。那里await AuthenticationManager.GetExternalLoginInfoAsync()
返回null。
然后我检查了完整的“请求堆栈”并看到了以下“请求流”:
- 回帖到
http://mydomain.net/Account/ExternalLogin
- 带有标头的响应
Location: https://api.login.yahoo.com/oauth/v2/request_auth?oauth_token=hwwvmgr
- 通过雅虎登录
- 请求
https://api.login.yahoo.com/oauth/v2/request_auth
- 带有标头的响应
Location: http://mydomain.net/signin-yahoo?oauth_token=hwwvmgr&oauth_verifier=p2bppu
- 对该 URL 的请求
- 带有标头的响应
Location: /Account/ExternalLoginCallback?error=access_denied
有谁知道为什么会发生这种情况?
我在雅虎验证的“真实域”上执行了此操作。
配置如下所示:
http - 当我尝试访问 yahoo API 时出现 Http 错误 406
我使用 yahoo oAuth1 和 yahoo API 从 yahoo 服务器获取联系人列表。
这是我用来获取联系人的代码:
但在这一行:
我得到这个错误:
为什么我会收到此错误以及如何解决?
先感谢您。
java - 雅虎 oauth 不适用于 jasig Cas 4.0 java
我正在使用 jasig cas 4.0 并配置了 google oauth2 并且工作正常。我在 applicationContext.xml 中添加了 yahoo1 bean,然后在 casLoginView.jsp 中添加了 ${YahooClientUrl}。
雅虎上的链接是:
我注意到单击雅虎链接会出现错误
应用程序成功重定向到雅虎,如果我想允许应用程序授予访问权限,则请求许可。现在从雅虎重定向到登录页面时,会发生更多异常并将其重定向到错误页面。
oauth - Yahoo Oauth Login 在 oauth_callback 中添加参数
我想在Yahoo Oauth oauth_callback url中添加 GET 参数
请参阅下面的示例,我希望回调转到http://yoursite.com/callback?update而不是http://yoursite.com/callback
但在http://yoursite.com/callback?update,我无法获得 $_GET['update'] 参数。请指教