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

Google App Engine多域名下Google身份验证配置问题咨询

Google App Engine Google Auth: Multiple Domain Support?

Hey there, sorry to break it to you but Google App Engine does NOT support configuring multiple domains in the "Google Apps Domain" field under Settings.

The comma-separated approach you tried won't work because this field is explicitly designed to accept only a single domain value—there's no built-in logic to parse multiple domains from that input.

If you need to restrict access to users from multiple Google Workspace domains, here are two solid workarounds:

  • Use Firebase Authentication: It’s fully compatible with GAE and lets you easily add multiple authorized domains to your access rules. You can map your GAE app to Firebase Auth with minimal setup, and it handles the domain checks out of the box.
  • Build a custom auth middleware: Write a lightweight middleware layer for your GAE app that verifies the user’s Google account domain against a pre-defined allowlist. This gives you full control over which domains get access, though it requires a bit more coding work.

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.15 07:24:20