使用oauth的授权问题 [英] the authorization problem by using oauth

查看:84
本文介绍了使用oauth的授权问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人

首先,我的目的是使用Google的帐户登录到我的测试网站(由ASP .NET4.0开发).我去了这个网站( http://easyoauth.codeplex.com/ [

Dear all

First, my intention is to use google''s account to log into my test website(developed by ASP .NET4.0). I went to this site(http://easyoauth.codeplex.com/[^]) to download the libraries. But when I starting test, I get this error message:

Exception: OAuthUnauthorizedException
Message: ERROR_OAUTH_UNAUTHORIZED
Signature: 8dnG2LhBIpyoqld80BojQXE5N10=
Base String: GET&https%3A%2F%2Fwww.google.com%2Faccounts%2FOAuthGetRequestToken&oauth_callback%3Dhttp%253A%252F%252F%255Byour_url%255D%252FOAuthVerifyHandler.do%26oauth_consumer_key%3D%2A%3A00721506596312397360%26oauth_nonce%3D50c76fe98ae4906023fa18e85a5afb5f%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1313043984%26oauth_version%3D1.0%26scope%3Dhttps%253A%252F%252Fwww.google.com%252Fbase%252Ffeeds%252F%2520http%253A%252F%252Fgdata.youtube.com%252Ffeeds%252Fapi%252Fvideos%252F
Header: OAuth oauth_callback="http%3A%2F%2F%5Byour_url%5D%2FOAuthVerifyHandler.do",oauth_consumer_key="*:00721506596312397360",oauth_nonce="50c76fe98ae4906023fa18e85a5afb5f",oauth_signature="8dnG2LhBIpyoqld80BojQXE5N10%3D",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1313043984",oauth_version="1.0"
Responsen Data: Consumer is not registered: *:00721506596312397360



我注意到此消息的最后一行,但非常困惑.如果有人遇到过这个问题并给我一些建议,那就太好了.非常感谢.



I noticed the last line of this message but pretty confused. It will be great if anyone who has ever encountered this problem and give me some suggestions. Thank you very much.

推荐答案

您是否已使用Google帐户注册了应用.
我已经尝试过Twitter OAuthenticationm,我们必须在这里注册我们的应用程序,但是对Google知之甚少.
Have you registered your app with google account.
I have tried Twitter OAuthenticationm, there we have to register our application, but dont know much about Google.


这篇关于使用oauth的授权问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆