Re: [OAUTH-WG] Call for adoption: OAuth 2.0 for Native Apps

John Bradley <ve7jtb@ve7jtb.com> Wed, 20 January 2016 20:11 UTC

Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 260E51A893C for <oauth@ietfa.amsl.com>; Wed, 20 Jan 2016 12:11:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f9G4bM-KUno5 for <oauth@ietfa.amsl.com>; Wed, 20 Jan 2016 12:11:01 -0800 (PST)
Received: from mail-qg0-x233.google.com (mail-qg0-x233.google.com [IPv6:2607:f8b0:400d:c04::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 18C1A1A8821 for <oauth@ietf.org>; Wed, 20 Jan 2016 12:11:01 -0800 (PST)
Received: by mail-qg0-x233.google.com with SMTP id e32so15569928qgf.3 for <oauth@ietf.org>; Wed, 20 Jan 2016 12:11:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ve7jtb-com.20150623.gappssmtp.com; s=20150623; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=yn8jvZdqhSyUf4DNa0gRrM9ZA0L7zipVQe5XlJTg7SU=; b=iLktEcgG2fG8QSxFQ3eIzefvCRFks4n1k4m9RJrv5mR7L4XfqvWJx8r05mTOxjaYcb Z24H7cwkTFq92oEhnoXzkvYKK7+03WwU/elqGSU93BChn+4IHw1iZQW9cvqLrvkjg4XP i5XHyt83UqEcUBNxPdl/DagDjEibT8iMCWyZfQmac844KVv+1scySFbIrgkYR/DRaEjW YmvWYbEMaRqdT94mDanUEoUz9q4zat6ZD+db7BdXYzCXuukSL1b+JSRpnKcREhA9pZn+ ume6Kq+obe7bF9glzfOsOrIZkp736gyNCby5S1Rb7VUxn+M+xl+hNldcBrSA4JyuFDdE LWjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=yn8jvZdqhSyUf4DNa0gRrM9ZA0L7zipVQe5XlJTg7SU=; b=UsNTL28wvqn6duZUJDyoplOLG0Gma1+HT4ZL0Ad6rJbSurjJPKAPw+qGaQrtPkk1fy yAkLrmSgknIunzaMDCusv0AvGaqKqeLc4KWrQ03mXyoiKu1kSM2UY1tDoAXZ88OBfNE0 DvEnzTtefNh/P59km0k7HARdHFrsd/5AGvMwMjj9AcgASNN/ZYwf5hs4H7azFlwG/c+U 8ufniOPxRCbWmeBPoSCGSw8ADm9GXfpANvlsFA4HQ/ivZ5u9aY2YCbB3dqsGTCrTd/Br ewGHbt+zv60fQ4hwOo4XFejm7dgsm5zZVyhX+2ile6WjOINTERvpWsNE7SxRLX16kDOT 1dBw==
X-Gm-Message-State: ALoCoQmE2fIncZ6WQGoGtMxxCxBwWxmEShpGJDl99etEkzEfwoBskAgB1pYpZIJGzUrFYmi4xXw7iDhGRvfmkGDstSRJymdB5Q==
X-Received: by 10.140.82.11 with SMTP id g11mr48313487qgd.77.1453320660071; Wed, 20 Jan 2016 12:11:00 -0800 (PST)
Received: from [192.168.8.101] ([181.202.164.7]) by smtp.gmail.com with ESMTPSA id d64sm5603965qgd.9.2016.01.20.12.10.58 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Jan 2016 12:10:59 -0800 (PST)
Content-Type: multipart/signed; boundary="Apple-Mail=_1FE76715-29CB-4A9F-AF73-54DB3C06FA41"; protocol="application/pkcs7-signature"; micalg="sha1"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <CABzCy2BKZ-2GXrgD7FuvTSQ9DB2xYU1URDMBTpmhdG-NwMDc7A@mail.gmail.com>
Date: Wed, 20 Jan 2016 17:10:56 -0300
Message-Id: <9062E913-39FB-4610-80FE-70796CBDEAC1@ve7jtb.com>
References: <569E2231.1010107@gmx.net> <CAGBSGjpwZ929ZZHYiNpvqLvMDBrVFWaffZLQPwZn_xj7phsrpw@mail.gmail.com> <6ADAA1B5-7EF9-49EA-A3D9-6EFC57275EB9@ve7jtb.com> <CA+k3eCS1ifU+QJyFtA=gOjSneg3Vh=3bf0CjnEijKTy=-9_xsw@mail.gmail.com> <E0918F9D-CA19-47F7-9A87-EBBA55A0B481@ve7jtb.com> <CABzCy2BKZ-2GXrgD7FuvTSQ9DB2xYU1URDMBTpmhdG-NwMDc7A@mail.gmail.com>
To: Nat Sakimura <sakimura@gmail.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/XfdyQjV2SwrLzcIVvz3EaoeANMs>
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Call for adoption: OAuth 2.0 for Native Apps
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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: Wed, 20 Jan 2016 20:11:04 -0000

PS as you probably suspected I am in favour of moving this forward.


> On Jan 20, 2016, at 5:08 PM, Nat Sakimura <sakimura@gmail.com> wrote:
> 
> +1 for moving this forward. 
> 
> 2016年1月21日木曜日、John Bradley<ve7jtb@ve7jtb.com <mailto:ve7jtb@ve7jtb.com>>さんは書きました:
> Yes more is needed.   It was theoretical at that point.  Now we have implementation experience.
> 
>> On Jan 20, 2016, at 3:38 PM, Brian Campbell <bcampbell@pingidentity.com <javascript:_e(%7B%7D,'cvml','bcampbell@pingidentity.com');>> wrote:
>> 
>> There is https://tools.ietf.org/html/draft-wdenniss-oauth-native-apps-00#appendix-A <https://tools.ietf.org/html/draft-wdenniss-oauth-native-apps-00#appendix-A> which has some mention of SFSafariViewController and Chrome Custom Tabs. 
>> 
>> Maybe more is needed?
>> 
>> On Wed, Jan 20, 2016 at 10:45 AM, John Bradley <ve7jtb@ve7jtb.com <javascript:_e(%7B%7D,'cvml','ve7jtb@ve7jtb.com');>> wrote:
>> Yes, in July we recommended using the system browser rather than WebViews.   
>> 
>> About that time Apple announced Safari view controller and Google Chrome custom tabs.   The code in the OS is now stable and we have done a fair amount of testing.
>> 
>> The OIDF will shortly be publishing reference libraries for iOS and Android to how how to best use View Controllers, and PKCE in native apps on those platforms.
>> 
>> We do need to update this doc to reflect what we have learned in the last 6 months.
>> 
>> One problem we do still have is not having someone with Win 10 mobile experience to help document the best practices for that platform. 
>> I don’t understand that platform well enough yet to include anything.
>> 
>> John B.
>> 
>>> On Jan 20, 2016, at 12:40 PM, Aaron Parecki <aaron@parecki.com <javascript:_e(%7B%7D,'cvml','aaron@parecki.com');>> wrote:
>>> 
>>> The section on embedded web views doesn't mention the new iOS 9 SFSafariViewController which allows apps to display a system browser within the application. The new API doesn't give the calling application access to anything inside the browser, so it is acceptable for using with OAuth flows. I think it's important to mention this new capability for apps to leverage since it leads to a better user experience.
>>> 
>>> I'm sure that can be addressed in the coming months if this document is just the starting point.
>>> 
>>> I definitely agree that a document about native apps is necessary since the core leaves a lot of guessing room for an implementation.
>>> 
>>> For reference, https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS9.html#//apple_ref/doc/uid/TP40016198-DontLinkElementID_26 <https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS9.html#//apple_ref/doc/uid/TP40016198-DontLinkElementID_26>
>>> 
>>> And see the attached screenshot for an example of what it looks like.
>>> 
>>> <embedded-oauth-view.png>
>>> 
>>> ----
>>> Aaron Parecki
>>> aaronparecki.com <http://aaronparecki.com/>
>>> @aaronpk <http://twitter.com/aaronpk>
>>> 
>>> 
>>> On Tue, Jan 19, 2016 at 3:46 AM, Hannes Tschofenig <hannes.tschofenig@gmx.net <javascript:_e(%7B%7D,'cvml','hannes.tschofenig@gmx.net');>> wrote:
>>> Hi all,
>>> 
>>> this is the call for adoption of OAuth 2.0 for Native Apps, see
>>> http://datatracker.ietf.org/doc/draft-wdenniss-oauth-native-apps/ <http://datatracker.ietf.org/doc/draft-wdenniss-oauth-native-apps/>
>>> 
>>> Please let us know by Feb 2nd whether you accept / object to the
>>> adoption of this document as a starting point for work in the OAuth
>>> working group.
>>> 
>>> Note: If you already stated your opinion at the IETF meeting in Yokohama
>>> then you don't need to re-state your opinion, if you want.
>>> 
>>> The feedback at the Yokohama IETF meeting was the following: 16 persons
>>> for doing the work / 0 persons against / 2 persons need more info
>>> 
>>> Ciao
>>> Hannes & Derek
>>> 
>>> 
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org <javascript:_e(%7B%7D,'cvml','OAuth@ietf.org');>
>>> https://www.ietf.org/mailman/listinfo/oauth <https://www.ietf.org/mailman/listinfo/oauth>
>>> 
>>> 
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org <javascript:_e(%7B%7D,'cvml','OAuth@ietf.org');>
>>> https://www.ietf.org/mailman/listinfo/oauth <https://www.ietf.org/mailman/listinfo/oauth>
>> 
>> 
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org <javascript:_e(%7B%7D,'cvml','OAuth@ietf.org');>
>> https://www.ietf.org/mailman/listinfo/oauth <https://www.ietf.org/mailman/listinfo/oauth>
>> 
>> 
> 
> 
> 
> -- 
> Nat Sakimura (=nat)
> Chairman, OpenID Foundation
> http://nat.sakimura.org/ <http://nat.sakimura.org/>
> @_nat_en
>