Java 不允许使用clientId 292824132082.apps.googleusercontent.com对断开的云端点进行身份验证

Java 不允许使用clientId 292824132082.apps.googleusercontent.com对断开的云端点进行身份验证,java,google-app-engine,google-cloud-endpoints,Java,Google App Engine,Google Cloud Endpoints,我正在开发我的云端点应用程序,自升级到1.8.8以来,我的身份验证最近被破坏。使用API资源管理器和我的javascript客户端时会发生此错误,这两个客户端都使用Oauth进行身份验证 身份验证失败,因为注入终结点的用户为null。在日志中,我看到: [INFO] WARNING: getCurrentUser: clientId 292824132082.apps.googleusercontent.com not allowed 我在@Api注释中设置了客户端ID,如下所示 @Api(n

我正在开发我的云端点应用程序,自升级到1.8.8以来,我的身份验证最近被破坏。使用API资源管理器和我的javascript客户端时会发生此错误,这两个客户端都使用Oauth进行身份验证

身份验证失败,因为注入终结点的用户为null。在日志中,我看到:

[INFO] WARNING: getCurrentUser: clientId 292824132082.apps.googleusercontent.com not allowed
我在@Api注释中设置了客户端ID,如下所示

@Api(name = "myApi",
     version = "v2",
     namespace = @ApiNamespace(
        ownerDomain = "api.ryanharter.com",
        ownerName = "hashnote.ryanharter.com"),
     scopes = {"https://www.googleapis.com/auth/userinfo.email"},
     clientIds = {Constants.CLIENT_ID_WEB, Constants.CLIENT_ID_ANDROID,
         Constants.CLIENT_ID_ANDROID_DEBUG, Constants.CLIENT_ID_API_EXPLORER},
     audiences = {Constants.AUDIENCE}
)

我遗漏了什么吗?

用户号码292824132082是否与您的固定客户ID WEB匹配?否。我不知道客户Id是什么。我在上看到了,因此它是一个内置的默认客户端id,应该被覆盖。请查看我在[this other thread][1][1]中的响应: