You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

开发与生产环境下Google OAuth同意屏显示内容不一致求助

Google OAuth同意屏开发与生产环境显示不一致问题

问题描述

开发环境下Google OAuth同意屏显示应用名称Trips & Tips By Sham,但生产环境却显示个人邮箱,希望生产环境也能显示配置好的应用名称。

开发环境信息

  • 跳转至OAuth同意屏前的路径:http://localhost/tips-and-trips-by-sham/google_calendar_add_event/
  • OAuth同意屏截图:开发环境Google OAuth同意屏
  • OAuth同意屏地址:https://accounts.google.com/signin/oauth/oauthchooseaccount?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar&redirect_uri=http%3A%2F%2Flocalhost%2Fgoogle_calendar_add_event_php%2Fgoogle_calendar_event_sync.php&response_type=code&client_id=179430523214-h7u06vpoj31hec4vpbn2sust7c8ltkee.apps.googleusercontent.com&access_type=offline&service=lso&o2v=1&flowName=GeneralOAuthFlow

生产环境信息

  • 跳转至OAuth同意屏前的路径:https://shaynhacker.com/clients/travel/travel/google_calendar_add_event/
  • OAuth同意屏截图:生产环境Google OAuth同意屏
  • OAuth同意屏地址:https://accounts.google.com/signin/oauth/oauthchooseaccount?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar&redirect_uri=https%3A%2F%2Fshaynhacker.com%2Fclients%2Ftravel%2Ftravel%2Fgoogle_calendar_add_event%2Fgoogle_calendar_event_sync.php&response_type=code&client_id=179430523214-h7u06vpoj31hec4vpbn2sust7c8ltkee.apps.googleusercontent.com&access_type=offline&service=lso&o2v=1&flowName=GeneralOAuthFlow

已执行操作

已在Google云控制台完成OAuth同意屏配置(配置截图:OAuth同意屏配置详情),但生产环境的同意屏仍未显示配置的应用名称,依旧显示个人邮箱。

内容的提问来源于stack exchange,提问作者Ozymandias

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.05 22:16:42