Re: [OAUTH-WG] device profile comments

Torsten Lodderstedt <torsten@lodderstedt.net> Fri, 23 April 2010 14:31 UTC

Return-Path: <torsten@lodderstedt.net>
X-Original-To: oauth@core3.amsl.com
Delivered-To: oauth@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EF70E28C0FC for <oauth@core3.amsl.com>; Fri, 23 Apr 2010 07:31:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level:
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X6t+btU1E0Id for <oauth@core3.amsl.com>; Fri, 23 Apr 2010 07:31:24 -0700 (PDT)
Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.40]) by core3.amsl.com (Postfix) with ESMTP id 4574E28C108 for <oauth@ietf.org>; Fri, 23 Apr 2010 07:28:42 -0700 (PDT)
Received: from [213.216.10.66] (helo=[127.0.0.1]) by smtprelay02.ispgateway.de with esmtpa (Exim 4.68) (envelope-from <torsten@lodderstedt.net>) id 1O5Jrq-0007Ts-L0; Fri, 23 Apr 2010 16:28:30 +0200
Message-ID: <4BD1AE7F.3000001@lodderstedt.net>
Date: Fri, 23 Apr 2010 16:28:15 +0200
From: Torsten Lodderstedt <torsten@lodderstedt.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: Brian Eaton <beaton@google.com>
References: <i2odaf5b9571004221649h733f675bva2f9f4438ef43921@mail.gmail.com>
In-Reply-To: <i2odaf5b9571004221649h733f675bva2f9f4438ef43921@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Df-Sender: 141509
Cc: oauth@ietf.org
Subject: Re: [OAUTH-WG] device profile comments
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Apr 2010 14:31:25 -0000

> - Authorization server doesn’t return approval URL - device hard-codes
> this instead.
>     I expect that this will point to a manufacturer specific page, and
> that the manufacturer specific page will automatically redirect to a
> page on the authorization server.
>    

Why not returning client-id-specific approval-URLs from the 
authorization server? This would allow to change them dynamically w/o 
changing the device's firmware/configuration.
And even if the authorization server returns an URL, the device 
firmeware can always use hard-coded URLs.

What do you think?

regards,
Torsten.
> - Approval URL MUST have client_id, and MAY have callback.
>     I expect that the client_id will be used to brand the approval
> page, and that the callback will point to a manufacturer specific
> completion page.
>
> Plus a few comments on error codes:
>
> “End User Authorization Pending or Expired” - authorization server
> probably isn’t going to be able to tell whether a code has expired, or
> was never issued.  Probably just return “unknown_code”.
>
> The “slow_down” error probably merits an “interval”.  Maybe always
> return “interval” with authorization_pending, and eliminate the
> slow_down error code entirely?
>
> Cheers,
> Brian
>
> [1] http://sites.google.com/site/oauthgoog/UXFedLogin/desktopapps
> [2] http://sites.google.com/site/oauthgoog/UXFedLogin/nobrowser
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>