开发与生产环境下Google OAuth同意屏显示内容不一致求助
Google OAuth同意屏开发与生产环境显示不一致问题
问题描述
开发环境下Google OAuth同意屏显示应用名称Trips & Tips By Sham,但生产环境却显示个人邮箱,希望生产环境也能显示配置好的应用名称。
开发环境信息
- 跳转至OAuth同意屏前的路径:
http://localhost/tips-and-trips-by-sham/google_calendar_add_event/ - 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同意屏截图:

- 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同意屏配置(配置截图:
),但生产环境的同意屏仍未显示配置的应用名称,依旧显示个人邮箱。
内容的提问来源于stack exchange,提问作者Ozymandias
相关产品推荐
相关产品推荐

