🔐 Google 登录测试

测试 Google OAuth 2.0 登录功能

API 配置

⚠️ 重要配置说明:

如果遇到 "no registered origin" 错误,请在 Google Cloud Console 中配置:

  1. 访问 Google Cloud Console
  2. 选择您的 OAuth 2.0 客户端 ID
  3. 在"授权的 JavaScript 源"中添加:http://localhost:9000
  4. 在"授权的重定向 URI"中添加:http://localhost:9000
  5. 保存更改(可能需要几分钟生效)