gau*_*tam 10 google-calendar-api google-apps google-login reactjs google-signin
当用户尝试在我的网站上使用 google 进行注册时,Google 会向用户显示上述 3 个弹出窗口,但是当我尝试注册时,它不会向我显示相同的弹出窗口。我看到的就是这个——
这 3 个独立的弹出窗口导致我的网站大量流失。如何删除这 3 个不同的权限弹出窗口?
Google 登录按钮详细信息 - 使用React Google 登录
<div className="manager-signup-container">
<div className="content">Join Peoplebox as a Manager to have productive 1:1s that drive actions.</div>
<GoogleLogin
className={`google-btn-${this.state.loginbtnStatus}`}
clientId={GOOGLE_CLIENT_ID}
buttonText="Sign up with Google"
onSuccess={(response) => this.responseOauth(response, "google")}
onFailure={this.responseGoogleFail}
responseType="code"
scope="profile email https://www.googleapis.com/auth/calendar.events https://www.googleapis.com/auth/calendar.readonly"
accessType="offline"
prompt="consent"
disabled={this.state.loginDisabled}
/>
Run Code Online (Sandbox Code Playgroud)
第三方 Google 应用程序的授权流程最近已更改,允许用户仅接受他/她想要的权限。这样,用户可以更好地控制应用程序对其数据的访问。
目前,无法更改此行为,也没有任何有关此更改的公共文档/资源。
| 归档时间: |
|
| 查看次数: |
190 次 |
| 最近记录: |