我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Google oauth每次都会提示用户同意

I am trying to put google login to my website using the userinfo example code from google-php-client. And now everytime i the same user tries to login it prompts at consent screen. Also If the token expires if gives error the next time the user logs in. How do i solve this?

Make sure you do not have the following parameters in the request URL:

  • display=prompt
  • prompt=force

Either of these values will force the user to re-consent each time.

近期文章

  • MySQL - 在反引号中将名称添加1到列
  • Facebook 0Auth客户端登录无法正常工作。 PHP APP
  • PHP将数据回显到HTML下拉菜单中
  • 在ajax()方法jquery中没有收到错误消息
  • jQuery / javascript覆盖我的php条件
  • zend_form ViewScript装饰器/传递参数
  • 正则表达式模式查找Markdown链接定义
  • PHP使用变量找到要在CSV中更改的行
  • 从FB API获取学院所在的州
  • 设置wordpress自定义字段复选框到期?
  • 尝试安装maxmind geolite2数据库
  • 使用来自MySQL服务器的用户从1计算用户数
  • 将值设置为adminhtml表单模板中的字段
  • PHP file_exists可以检查重映射的子目录吗?
  • PHP:如何使用表单类型在PHP中选择菜单?
  • PHP bindParam()函数有多个参数
  • 在非对象上调用成员函数query()
  • 将应用程序初始化代码放在laravel中的位置
  • 收集坐标并将其绘制到Google Map
  • 在zf2中将会话变量传递给外部URL

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华