我正在尝试使用django-python中的社交身份验证(openid)登录gmail。我在尝试登录gmail时遇到以下错误:
OpenID身份验证失败:return_to与返回URL不匹配。预期'http://完整/谷歌/?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 。在%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.last_name&安培; openid.sig = LBPO6BxhlvdsJFPUqYol46jxmow%3D&安培; openid.identity = HTTPS%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawmhdR7EcG1qexEK5TJ7Ho1ucx0bTuxXAsw&安培; openid.claimed_id = HTTPS%3A%2F%2Fwww。 google.com%2Faccounts%2Fo8%2Fid%3Fid%3DAItOawmhdR7EcG1qexEK5TJ7Ho1ucx0bTuxXAsw&安培; openid.ns.ext1 = HTTP%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&安培; openid.ext1.mode = fetch_response&安培; openid.ext1。 type.first_name = HTTP%3A%2F%2Faxschema.org%2FnamePerson%2Ffirst&安培; openid.ext1.value.first_name = paritosh&安培; openid.ext1.type.old_email = HTTP%3A%2F%2Fschema.openid.net%2Fcontact% 2Femail&安培; openid.ext1.value.old_email = paritosh.singh%40joshworkz.com&安培; openid.ext1.type.email = HTTP%3A%2F%2Faxschema.org%2Fcontact%2Femail&安培; openid.ext1.value.email = paritosh。 singh%40joshworkz.com& openid.ext1.type.last_name = http%3A%2F%2Faxschema.org%2FnamePerson%2Flast& openid.ext1.value.last_name = singh',得到了你:http://example.abc。在/完整/谷歌/?janrain_nonce = 2012-02-21T07%3A34%3A43Z7YPbvg'
我尝试了很多,但无法得到正确的解决方案。如果有人可以提供与此相关的帮助或指出我正在做的错误那将是伟大的