本文介绍了什么原因导致Openid错误:Received“invalidate_handle”从服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很开心,而且我收到一个invalidate_handle,我不知道该怎么办来修复它。

我使用django_authopenid

  [Thu Apr 29 14:13:28 2010] [error]生成checkid_setup请求到https://www.google.com/accounts/o8/ud与关联AOxxxxxxxxox5-V9oDc3-btHhFxzAcccccccccc2RTHgh 
[Thu Apr 29 14:13:29 2010] [错误]尝试使用存储的发现信息时出错:< openid.consumer.consumer.TypeURIMismatch:必需类型http:// specs。 openid.net/auth/2.0/signon在['http://specs.openid.net/auth/2.0/server','http://openid.net/srv/ax/1.0','http: //specs.openid.net/extensions/ui/1.0/mode/popup','http://specs.openid.net/extensions/ui/1.0/icon','http://specs.openid.net/ extensions / pape / 1.0']端点< openid.consumer.discover.OpenIDServiceEndpoint server_url ='https://www.google.com/accounts/o8/ud'claims_id =无local_id =无canonicalID =无used_yadis = True> ;>
[Thu Apr 29 14:13:29 2010] [错误]尝试发现以验证端点
[Thu Apr 29 14:13:29 2010] [错误]在https:// www上执行发现。 google.com/accounts/o8/id?id=AOxxxxxxxxox5-V9oDc3-btHhFxzAcccccccccc2RTHgh
[Thu Apr 29 14:13:29 2010] [错误]收到来自https://www.google.com/accounts的id_res回复/ o8 / ud使用关联AOxxxxxxxxxx5-V9oDc3-btHhFxzAcccccccccc2RTHgh
[Thu Apr 29 14:13:29 2010] [错误]使用OpenID check_authentication
[Thu Apr 29 14:13:29 2010] [error] op_endpoint
[Thu Apr 29 14:13:29 2010] [error] claims_id
[Thu Apr 29 14:13:29 2010] [error] identity
[Thu Apr 29 14:13 :29 2010] [error] return_to
[Thu Apr 29 14:13:29 2010] [error] response_nonce
[Thu Apr 29 14:13:29 2010] [error] assoc_handle
[Thu Apr 29 14:13:29 2010] [错误]从服务器https://www.google.com/accounts/o8/ud
收到invalidate_handle


解决方案

ope nid.invalidate_handle是提供者说您的RP发送不存在或已过期的关联的方式。 RP应该通过删除该关联句柄进行响应,以便将来不再重复使用。如果您在响应中总是收到invalidate_handles,那么您使用的RP有一个错误。


I'm new to openid, and I am getting an "invalidate_handle" and I have no idea what to do to fix it.
I'm using django_authopenid

[Thu Apr 29 14:13:28 2010] [error] Generated checkid_setup request to https://www.google.com/accounts/o8/ud with assocication AOxxxxxxxxOX5-V9oDc3-btHhFxzAcccccccccc2RTHgh
[Thu Apr 29 14:13:29 2010] [error] Error attempting to use stored discovery information: <openid.consumer.consumer.TypeURIMismatch: Required type http://specs.openid.net/auth/2.0/signon not found in ['http://specs.openid.net/auth/2.0/server', 'http://openid.net/srv/ax/1.0', 'http://specs.openid.net/extensions/ui/1.0/mode/popup', 'http://specs.openid.net/extensions/ui/1.0/icon', 'http://specs.openid.net/extensions/pape/1.0'] for endpoint <openid.consumer.discover.OpenIDServiceEndpoint server_url='https://www.google.com/accounts/o8/ud' claimed_id=None local_id=None canonicalID=None used_yadis=True >>
[Thu Apr 29 14:13:29 2010] [error] Attempting discovery to verify endpoint
[Thu Apr 29 14:13:29 2010] [error] Performing discovery on https://www.google.com/accounts/o8/id?id=AOxxxxxxxxOX5-V9oDc3-btHhFxzAcccccccccc2RTHgh
[Thu Apr 29 14:13:29 2010] [error] Received id_res response from https://www.google.com/accounts/o8/ud using association AOxxxxxxxxOX5-V9oDc3-btHhFxzAcccccccccc2RTHgh
[Thu Apr 29 14:13:29 2010] [error] Using OpenID check_authentication
[Thu Apr 29 14:13:29 2010] [error] op_endpoint
[Thu Apr 29 14:13:29 2010] [error] claimed_id
[Thu Apr 29 14:13:29 2010] [error] identity
[Thu Apr 29 14:13:29 2010] [error] return_to
[Thu Apr 29 14:13:29 2010] [error] response_nonce
[Thu Apr 29 14:13:29 2010] [error] assoc_handle
[Thu Apr 29 14:13:29 2010] [error] Received "invalidate_handle" from server https://www.google.com/accounts/o8/ud
解决方案

openid.invalidate_handle is the Provider's way of saying that your RP is sending an association that does not exist or has expired. The RP is supposed to respond by deleting that association handle so it isn't reused in the future. If you're always getting invalidate_handles in the response, then the RP you're using has a bug in it.

这篇关于什么原因导致Openid错误:Received“invalidate_handle”从服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 18:29