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

Anthony Nadalin <tonynad@microsoft.com> Thu, 21 January 2016 04:33 UTC

Return-Path: <tonynad@microsoft.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 CB9991B2EA0 for <oauth@ietfa.amsl.com>; Wed, 20 Jan 2016 20:33:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.012
X-Spam-Level:
X-Spam-Status: No, score=-0.012 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=1.989, SPF_HELO_PASS=-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 pHT5X5pw0NME for <oauth@ietfa.amsl.com>; Wed, 20 Jan 2016 20:33:53 -0800 (PST)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0789.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:789]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E78AF1B2E9E for <oauth@ietf.org>; Wed, 20 Jan 2016 20:33:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=IwWmzc0tMudPiBc3NU7jki1mDZMWhvQ1fjock7EXsKI=; b=nToN8nBunLt+f1LEdWKTEAxzi3uBD8edLWxLnD3VsTjo63AeKOla16Y4n6X1wYnNZIsL26i8Hxm1ABdZLa/c8b7tZGGBuGZO3nhFLo0g4W7IXxt5rp/6M4cr6uk88Dqj78/5WGrQYJJwQlmX5thRilmk1HStGhENE2yBPVj4H3c=
Received: from BN3PR0301MB1234.namprd03.prod.outlook.com (10.161.207.22) by BN3PR0301MB1233.namprd03.prod.outlook.com (10.161.207.21) with Microsoft SMTP Server (TLS) id 15.1.365.19; Thu, 21 Jan 2016 04:33:32 +0000
Received: from BN3PR0301MB1234.namprd03.prod.outlook.com ([10.161.207.22]) by BN3PR0301MB1234.namprd03.prod.outlook.com ([10.161.207.22]) with mapi id 15.01.0365.024; Thu, 21 Jan 2016 04:33:31 +0000
From: Anthony Nadalin <tonynad@microsoft.com>
To: John Bradley <ve7jtb@ve7jtb.com>, Nat Sakimura <sakimura@gmail.com>
Thread-Topic: [OAUTH-WG] Call for adoption: OAuth 2.0 for Native Apps
Thread-Index: AQHRUq8iYUfUsD4JqEqyJO5z+rZonp8EjGGAgAAi5ICAAA74AIAAEWeAgAAHwwCAAACSAIAAixdA
Date: Thu, 21 Jan 2016 04:33:31 +0000
Message-ID: <BN3PR0301MB1234046860E5CD9E774DB473A6C30@BN3PR0301MB1234.namprd03.prod.outlook.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> <9062E913-39FB-4610-80FE-70796CBDEAC1@ve7jtb.com>
In-Reply-To: <9062E913-39FB-4610-80FE-70796CBDEAC1@ve7jtb.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=tonynad@microsoft.com;
x-originating-ip: [118.163.65.13]
x-ms-office365-filtering-correlation-id: 9bc000d8-5bdd-40e1-2077-08d3221c047a
x-microsoft-exchange-diagnostics: 1; BN3PR0301MB1233; 5:bBSr+OjZew9qEervtgxU3q/l30vKr8/3STq6Rt2vh0d2AaO/UvqATtKhPuGEJ3k+VQ24FysuHtw63v51hezsW6RTO914cRMQUtowAIvEZFXsPrQ6PDGVzRl6My/qiijk1O/c8Gl5hhzMrDV5R52u3Q==; 24:65l7mGwQY8KtmcseJm3g5XBM/fI0+8AYtu6pGtfOyDKU1HRNoHkGAXDFMhMDal17Bw+PpryxSEw8eIFsH69EuReMLphl08yPy6eZ7R6w9uQ=
x-exchange-antispam-report-test: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB1233; UriScan:(189930954265078);
x-microsoft-antispam-prvs: <BN3PR0301MB1233AC93CE25497D18E789DFA6C30@BN3PR0301MB1233.namprd03.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(601004)(2401047)(8121501046)(520078)(5005006)(3002001)(10201501046)(61426038)(61427038); SRVR:BN3PR0301MB1233; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB1233;
x-forefront-prvs: 08286A0BE2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(24454002)(377454003)(189002)(11905935001)(53754006)(199003)(77096005)(76576001)(19580395003)(19617315012)(5005710100001)(8990500004)(2900100001)(6116002)(3846002)(16236675004)(93886004)(10290500002)(10400500002)(5008740100001)(1220700001)(122556002)(92566002)(50986999)(790700001)(19300405004)(102836003)(19580405001)(586003)(1096002)(54356999)(5002640100001)(5001960100002)(87936001)(189998001)(2950100001)(33656002)(76176999)(81156007)(5003600100002)(101416001)(105586002)(40100003)(5004730100002)(74316001)(86362001)(5001770100001)(10090500001)(66066001)(99286002)(4326007)(106116001)(5890100001)(106356001)(19625215002)(86612001)(97736004)(15975445007)(2906002)(42262002)(9078065003)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB1233; H:BN3PR0301MB1234.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BN3PR0301MB1234046860E5CD9E774DB473A6C30BN3PR0301MB1234_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2016 04:33:31.5006 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1233
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/uZhQyJ37hehH6amEfm4G-ZoRGsQ>
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: Thu, 21 Jan 2016 04:33:58 -0000

This work had many issues in the OpenID WG where it failed why should this be a WG item here ? The does meet the requirements for experimental, there is a fine line between informational and experimental, I would be OK with either but prefer experimental, I don’t think that this should become a standard.

From: OAuth [mailto:oauth-bounces@ietf.org] On Behalf Of John Bradley
Sent: Wednesday, January 20, 2016 12:11 PM
To: Nat Sakimura <sakimura@gmail.com>
Cc: oauth@ietf.org
Subject: Re: [OAUTH-WG] Call for adoption: OAuth 2.0 for Native Apps

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<mailto: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://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2ftools.ietf.org%2fhtml%2fdraft-wdenniss-oauth-native-apps-00%23appendix-A&data=01%7c01%7ctonynad%40microsoft.com%7cfd93a3d44152476b186e08d321d5d579%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=JWJmgLNPYe96GHUu67JZ1xdUN3T3c7kDNLQc8wniaDQ%3d> 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://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fdeveloper.apple.com%2flibrary%2fprerelease%2fios%2freleasenotes%2fGeneral%2fWhatsNewIniOS%2fArticles%2fiOS9.html%23%2f%2fapple_ref%2fdoc%2fuid%2fTP40016198-DontLinkElementID_26&data=01%7c01%7ctonynad%40microsoft.com%7cfd93a3d44152476b186e08d321d5d579%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=hQ6JGBJjX%2fwm36N6MpGeXbNQzwJaf6G6eyGxRVQH4ZA%3d>

And see the attached screenshot for an example of what it looks like.

<embedded-oauth-view.png>

----
Aaron Parecki
aaronparecki.com<https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2faaronparecki.com%2f&data=01%7c01%7ctonynad%40microsoft.com%7cfd93a3d44152476b186e08d321d5d579%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=S5aoD2X1pzBvy3qsEfPfyDCY0SQRqN7J6M%2fDLJz%2fUew%3d>
@aaronpk<https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2ftwitter.com%2faaronpk&data=01%7c01%7ctonynad%40microsoft.com%7cfd93a3d44152476b186e08d321d5d579%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=nEN2jz2zsIWlcJ%2bSWotUH8oLPFJ8ii4o49G0cEHYmQo%3d>


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/<https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fdatatracker.ietf.org%2fdoc%2fdraft-wdenniss-oauth-native-apps%2f&data=01%7c01%7ctonynad%40microsoft.com%7cfd93a3d44152476b186e08d321d5d579%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=2cQwLQLkCiFWxIIav5TMZFe5VFE%2bXrc3OQq46q0D0U8%3d>

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://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fwww.ietf.org%2fmailman%2flistinfo%2foauth&data=01%7c01%7ctonynad%40microsoft.com%7cfd93a3d44152476b186e08d321d5d579%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=m5%2f3yd6Jtwu0mVOejfZi1BQsYtBZ0WjfHTaC4g9GmK0%3d>

_______________________________________________
OAuth mailing list
OAuth@ietf.org<javascript:_e(%7B%7D,'cvml','OAuth@ietf.org');>
https://www.ietf.org/mailman/listinfo/oauth<https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fwww.ietf.org%2fmailman%2flistinfo%2foauth&data=01%7c01%7ctonynad%40microsoft.com%7cfd93a3d44152476b186e08d321d5d579%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=m5%2f3yd6Jtwu0mVOejfZi1BQsYtBZ0WjfHTaC4g9GmK0%3d>


_______________________________________________
OAuth mailing list
OAuth@ietf.org<javascript:_e(%7B%7D,'cvml','OAuth@ietf.org');>
https://www.ietf.org/mailman/listinfo/oauth<https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fwww.ietf.org%2fmailman%2flistinfo%2foauth&data=01%7c01%7ctonynad%40microsoft.com%7cfd93a3d44152476b186e08d321d5d579%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=m5%2f3yd6Jtwu0mVOejfZi1BQsYtBZ0WjfHTaC4g9GmK0%3d>




--
Nat Sakimura (=nat)
Chairman, OpenID Foundation
http://nat.sakimura.org/<https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fnat.sakimura.org%2f&data=01%7c01%7ctonynad%40microsoft.com%7cfd93a3d44152476b186e08d321d5d579%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=LKjUffXFJjc4HJqcwkgWINQK65ASdL29nfenSiJspjA%3d>
@_nat_en