1

我正在尝试使用 django-python 中的社交身份验证(openid)登录 gmail。尝试登录 gmail 时出现以下错误:

OpenID 身份验证失败:return_to 与返回 URL 不匹配。预期 'http://complete/google/?janrain_nonce=2012-02-21T07%3A34%3A43Z7YPbvg&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https %3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fud&openid.response_nonce=2012-02-21T07%3A34%3A45ZRRUcwNRhr0lagA&openid.return_to=http%3A%2F%2Fexample.abc.in%2Fcomplete%2Fgoogle%2F%3Fjanrain_nonce %3D2012-02-21T07%253A34%253A43Z7YPbvg&openid.assoc_handle=AMlYA9WUfaD-iijrGZb_D3EupBJ22mgGAAeRDte9ju9WJXwm9Y8V3h4g&openid.signed=op_endpoint%2Cclaimed_id%2Cidentity%2Creturn_to%2Cresponse_nonce%2Cassoc_handle%2Cns.ext1%2Cext1.mode%2Cext1.type.first_name%2Cext1.value.first_name %2Cext1.type.old_email%2Cext1.value.old_email%2Cext1.type.email%2Cext1.value.email%2Cext1.type.last_name%2Cext1.value。

我尝试了很多,但无法得到正确的解决方案。如果有人可以提供与此相关的帮助或指出我正在做的错误,那就太好了

4

0 回答 0