我是openid的新手,我收到了“invalidate_handle”,我不知道该怎么做才能修复它。
我正在使用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
答案 0 :(得分:2)
openid.invalidate_handle是提供商表示您的RP正在发送不存在或已过期的关联的方式。 RP应该通过删除该关联句柄来响应,以便将来不再使用它。如果你总是在响应中得到invalidate_handles,那么你正在使用的RP中有一个错误。