Google身份验证google api asp .net c# [英] Google Authentication google api asp .net c#

查看:70
本文介绍了Google身份验证google api asp .net c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,





现在我使用google api创建一个google plus身份验证。这里创建新的客户端ID和密钥。但是我得到了错误 Origin Mismatch 。这里我的客户ID已更改。



Hi All,


Now am create One google plus authentication using google api. Here am create new client id and secret key. But i got error Origin Mismatch. Here my client id is changed.

Error: origin_mismatch
Request Details

    scope=https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/plus.moments.write https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/plus.profile.agerange.read https://www.googleapis.com/auth/plus.profile.language.read https://www.googleapis.com/auth/plus.circles.members.read
    redirect_uri=postmessage
    state=813076234|0.3421608798
    origin=http://localhost:58619
    display=page
    request_visible_actions=http://schemas.google.com/AddActivity
    cookie_policy_enforce=false
    response_type=code token id_token gsession
    access_type=offline
    cookie_policy=single_host_origin
    proxy=oauth2relay482327206
    include_granted_scopes=true
    client_id=809245002561-m4dvf2138bsg151cludmakljje1fck72.apps.googleusercontent.com
    authuser=0





。上面的客户端ID与我创建的新ID不相似。我已经使用新的创建ID更新了ID。欢迎所有回复。



谢谢,

DhineshKumar Velmayil




above one is shown during click sign in. the above client id is not similar to am create new id. Am already update the id by using my new creating id. All replies are welcome.

Thanks,
DhineshKumar Velmayil

推荐答案

请参阅 - 在Google+内容共享API中出现了origin_mismatch错误 [ ^ ]并按照解决方案。
Refer - Got origin_mismatch error in Google+ share api[^] and follow the solution.


这篇关于Google身份验证google api asp .net c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆