From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vijay Lakshminarayanan Newsgroups: gmane.emacs.devel Subject: Re: OAuth2 implementation in Elisp Date: Wed, 28 Sep 2011 09:05:39 +0530 Message-ID: <87mxdpfies.fsf@gmail.com> References: <87sjnojl7j.fsf@keller.adm.naquadah.org> <4E7BAFA4.8090800@dogan.se> <4E7BAFE2.2090102@dogan.se> <87k490jkaw.fsf@keller.adm.naquadah.org> <87d3eo984j.fsf@lifelogs.com> <87mxdsbx1n.fsf@keller.adm.naquadah.org> <87litc695c.fsf@lifelogs.com> <87vcsfmxzd.fsf@keller.adm.naquadah.org> <87y5xb4bgj.fsf@lifelogs.com> <87ehz32vm5.fsf@keller.adm.naquadah.org> <878vpb44t4.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317180962 27023 80.91.229.12 (28 Sep 2011 03:36:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2011 03:36:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 28 05:35:58 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R8kw9-0003Zi-Iw for ged-emacs-devel@m.gmane.org; Wed, 28 Sep 2011 05:35:57 +0200 Original-Received: from localhost ([::1]:40006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8kw9-0005ds-6N for ged-emacs-devel@m.gmane.org; Tue, 27 Sep 2011 23:35:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8kw6-0005dR-CB for emacs-devel@gnu.org; Tue, 27 Sep 2011 23:35:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8kw3-0004ug-VH for emacs-devel@gnu.org; Tue, 27 Sep 2011 23:35:54 -0400 Original-Received: from mail-pz0-f47.google.com ([209.85.210.47]:35172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8kw3-0004tf-OU for emacs-devel@gnu.org; Tue, 27 Sep 2011 23:35:51 -0400 Original-Received: by pzk4 with SMTP id 4so20746293pzk.6 for ; Tue, 27 Sep 2011 20:35:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=GIkZNbZyJZJtV2oRkf5r7Bsb+EGFyg5q+oMyUPCjL9s=; b=YDtycuBG9zCZpfsTFCs/QEpv9QWraLTl84EGI4fLYPSd39URMz07jYY1qOiS5QFq+r jdhRerW/h9e1QtGbyOsa+f9aTXclH89Xx3buU5EYGzhXA+9YTKFY2u0opus2ZZyQ3KXQ MMAd2AgVQ9Fv2nSKxhb3DzMEnOJ1jGFOxCIZ4= Original-Received: by 10.68.8.71 with SMTP id p7mr41082932pba.110.1317180950317; Tue, 27 Sep 2011 20:35:50 -0700 (PDT) Original-Received: from BALROG ([59.92.45.86]) by mx.google.com with ESMTPS id h5sm3167255pbq.11.2011.09.27.20.35.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Sep 2011 20:35:49 -0700 (PDT) In-Reply-To: <878vpb44t4.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 26 Sep 2011 12:00:23 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.47 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144429 Archived-At: Ted Zlatanov writes: > Why can't Emacs pretend to be a Web application? Is it somehow less > capable than other web browsers? I have some experience with OAuth 1.0 but from what I've seen OAuth 2.0 is similar, at least in this aspect. There are two kinds of OAuth consumers -- desktop and web. In the case of a Web consumer, we provide the OAuth provider (Google, Twitter etc) with a callback URL to redirect users to after authentication. For Emacs to behave as a web app, it must (a) run a web-server (b) be accessible via the internet. Satisfying these two conditions is practically impossible for all Emacs users. In another thread of discussion, it appears that people are discussing whether it's possible to render the URL with the application code /within/ Emacs. This is a better goal, IMO. > Thanks > Ted -- Cheers ~vijay Gnus should be more complicated.