Java Script (Java Servlet なし) エンドポイントを使用して、GAE Open-ID Federated Authentication を使用したいと考えています。
Java Script (Java Servlet なし) エンドポイント経由でサポートされていますか? はいの場合、Java Script エンドポイント API 呼び出しで Open-ID Federated Authentication を使用するにはどうすればよいですか?
エンドポイント API でユーザーを試しました
@ApiMethod(
        name = "signMe.signGoogleId",
        httpMethod = "POST",
        scopes = { "https://www.googleapis.com/auth/userinfo.profile" , "https://www.googleapis.com/auth/userinfo.email" }
    )
    public SignIn signInOpenId(User user)throws
      OAuthRequestException, IOException
    {
      User is null always even after logging with Google\Yahoo User.
エンドポイント API で HttpServletRequest req を試しました。
@ApiMethod(
        name = "SignMe.signOpenId",
        httpMethod = HttpMethod.GET,
        scopes = { "https://www.googleapis.com/auth/userinfo.profile" , "https://www.googleapis.com/auth/userinfo.email" }
    )
    public SignIn signInOpenId(HttpServletRequest req)
    throws IOException
{
UserService userService = UserServiceFactory.getUserService();
        User newUser = userService.getCurrentUser();
        newUser is null always even after logging with Google\Yahoo User.
ありがとう、ディーパック