gpt4 book ai didi

python - Openid报错: Received "invalidate_handle" from server是什么原因

转载 作者:行者123 更新时间:2023-11-28 17:54:32 25 4
gpt4 key购买 nike

我是 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

最佳答案

openid.invalidate_handle 是提供商表示您的 RP 正在发送不存在或已过期的关联的方式。 RP 应该通过删除该关联句柄来响应,这样它就不会在将来被重用。如果您总是在响应中收到 invalidate_handles,那么您使用的 RP 中有错误。

关于python - Openid报错: Received "invalidate_handle" from server是什么原因,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2739886/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com