Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-31 Thread Mike Jones
: Mike Jones; oauth-boun...@ietf.org; OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft +1 Phil phil.h...@oracle.commailto:phil.h...@oracle.com On 2011-03-21, at 8:50 AM, George Fletcher wrote: +1 On 3/11/11 2:56 AM, tors...@lodderstedt.netmailto:tors...@lodderstedt.net wrote: Why

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-21 Thread George Fletcher
: oauth-boun...@ietf.org Date: Fri, 11 Mar 2011 01:54:00 To: OAuth WGoauth@ietf.org Subject: Re: [OAUTH-WG] OAuth Bearer Token draft ___ OAuth mailing list OAuth@ietf.org https://www.ietf.org/mailman/listinfo/oauth

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-21 Thread Phil Hunt
Deutschland -Original Message- From: Mike Jones michael.jo...@microsoft.com Sender: oauth-boun...@ietf.org Date: Fri, 11 Mar 2011 01:54:00 To: OAuth WGoauth@ietf.org Subject: Re: [OAUTH-WG] OAuth Bearer Token draft ___ OAuth mailing

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-11 Thread torsten
To: OAuth WGoauth@ietf.org Subject: Re: [OAUTH-WG] OAuth Bearer Token draft ___ OAuth mailing list OAuth@ietf.org https://www.ietf.org/mailman/listinfo/oauth ___ OAuth mailing list OAuth@ietf.org https

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-11 Thread torsten
-WG] OAuth Bearer Token draft Gesendet: 10. Mrz. 2011 23:31 In theory yes, sometimes a token has limited scope. But since a token will often have unlimited scope, it carries the same potential for risk. I would say one-time use tokens (e.g. grant codes) are really the only things that should

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-11 Thread Richer, Justin P.
-WG] OAuth Bearer Token draft Justin Richer said: Since all formats are optional,... No they aren't. draft-ietf-oauth-v2-bearer-03 says Resource servers MUST accept [the Authorization header], and MAY support [body query parameters] -- James Manger

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-11 Thread Richer, Justin P.
, March 11, 2011 3:01 AM To: Phil Hunt Cc: Richer, Justin P.; OAuth WG Subject: AW: Re: [OAUTH-WG] OAuth Bearer Token draft To scope a refresh token is good practice (IMHO). I agree with wrt URI query parameters. This should be used carefully and only if no other option exists. Regards, Torsten

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Lukas Rosenstock
JSON-P (callback) works with script tags where no parameters can be set; this is used a lot in web applications that want to consume 3rd party APIs directly on the client side. So, yes, an alternative for the Authorization header is required - a.f.a.i.k this use case was one of the driving forces

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Richer, Justin P.
To: William J. Mills Cc: Brian Eaton; Richer, Justin P.; OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft JSON-P (callback) works with script tags where no parameters can be set; this is used a lot in web applications that want to consume 3rd party APIs directly on the client side. So, yes

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread William J. Mills
: Brian Eaton bea...@google.com; OAuth WG oauth@ietf.org Sent: Thursday, March 10, 2011 9:49 AM Subject: RE: [OAUTH-WG] OAuth Bearer Token draft Yes, there are many development setups where all you can reasonably access is the URL to get. It's also much simpler to make use of the well-supported syntax

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Richer, Justin P.
: Thursday, March 10, 2011 12:59 PM To: Richer, Justin P.; Lukas Rosenstock Cc: Brian Eaton; OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft Yeah, but there are serious security problems with credentials in the URL, is it really worth it in light of those problems

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Phil Hunt
...@yahoo-inc.com Cc: Brian Eaton bea...@google.com; OAuth WG oauth@ietf.org Sent: Thursday, March 10, 2011 9:49 AM Subject: RE: [OAUTH-WG] OAuth Bearer Token draft Yes, there are many development setups where all you can reasonably access is the URL to get. It's also much simpler to make

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Eran Hammer-Lahav
WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft -1. It is a BAD security practice to pass credentials in URLs. Avoid it. Phil phil.h...@oracle.com On 2011-03-10, at 10:07 AM, Richer, Justin P. wrote: Ah, here we run into the classic argument of usability vs. security

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Richer, Justin P.
an appropriate balance. -- Justin From: Phil Hunt [phil.h...@oracle.com] Sent: Thursday, March 10, 2011 1:15 PM To: Richer, Justin P. Cc: William J. Mills; Lukas Rosenstock; OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft -1. It is a BAD security practice

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Phil Hunt
: OAuth WG Subject: RE: [OAUTH-WG] OAuth Bearer Token draft There are a few issues to consider. 1. Should the spec support sending bearer token in a query parameter? - The argument that there are many use cases for this is unproven. JSON-P is one valid example (though JSON-P usage

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Phil Hunt
: Phil Hunt [phil.h...@oracle.com] Sent: Thursday, March 10, 2011 2:01 PM To: Richer, Justin P. Cc: Eran Hammer-Lahav; OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft Well, for one if you promote this, it becomes general technique. Now you have uid/passwords in browser history etc

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread William J. Mills
-inc.com; Lukas Rosenstock l...@lukasrosenstock.net; OAuth WG oauth@ietf.org Sent: Thursday, March 10, 2011 10:30 AM Subject: RE: [OAUTH-WG] OAuth Bearer Token draft What about temporary credentials across a local link between controlled systems? My point is just that there are cases where

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Torsten Lodderstedt
: Eran Hammer-Lahav; OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft Well, for one if you promote this, it becomes general technique. Now you have uid/passwords in browser history etc potentially accessible to javascript and could be leaked/hacked in any number of ways. Also, I would say

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Phil Hunt
From: Phil Hunt [phil.h...@oracle.com] Sent: Thursday, March 10, 2011 2:01 PM To: Richer, Justin P. Cc: Eran Hammer-Lahav; OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft Well, for one if you promote this, it becomes general technique. Now you have uid/passwords in browser

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread George Fletcher
2:01 PM To: Richer, Justin P. Cc: Eran Hammer-Lahav; OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft Well, for one if you promote this, it becomes general technique. Now you have uid/passwords in browser history etc potentially accessible to javascript and could be leaked/hacked in any

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Mike Jones
: oauth-boun...@ietf.org [mailto:oauth-boun...@ietf.org] On Behalf Of George Fletcher Sent: Thursday, March 10, 2011 4:28 PM To: Phil Hunt Cc: OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft I'm not crazy about the compromise either, but it's not possible for a site using JSONP and it's

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-10 Thread Manger, James H
Justin Richer said: Since all formats are optional,... No they aren't. draft-ietf-oauth-v2-bearer-03 says Resource servers MUST accept [the Authorization header], and MAY support [body query parameters] -- James Manger ___ OAuth mailing list

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-08 Thread William J. Mills
. From: Justin Richer jric...@mitre.org To: Brian Eaton bea...@google.com Cc: OAuth WG oauth@ietf.org Sent: Tuesday, March 8, 2011 7:11 AM Subject: Re: [OAUTH-WG] OAuth Bearer Token draft Very strongly agree, repeat my suggestion to name the parameter oauth2_token. -- Justin On Fri

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-08 Thread Justin Richer
To: Brian Eaton bea...@google.com Cc: OAuth WG oauth@ietf.org Sent: Tuesday, March 8, 2011 7:11 AM Subject: Re: [OAUTH-WG] OAuth Bearer Token draft Very strongly agree, repeat my suggestion to name the parameter oauth2_token. -- Justin On Fri, 2011-02-25 at 14:49 -0500, Brian Eaton wrote

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-08 Thread William J. Mills
...@google.com; OAuth WG oauth@ietf.org Sent: Tuesday, March 8, 2011 8:41 AM Subject: Re: [OAUTH-WG] OAuth Bearer Token draft I don't understand this comment. If you're using query/form parameters, there are no schemes involved in the process. -- Justin On Tue, 2011-03-08 at 11:27 -0500, William J

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-08 Thread Eran Hammer-Lahav
-inc.com Reply-To: William J. Mills wmi...@yahoo-inc.commailto:wmi...@yahoo-inc.com Date: Tue, 8 Mar 2011 10:11:46 -0700 To: Justin Richer jric...@mitre.orgmailto:jric...@mitre.org Cc: OAuth WG oauth@ietf.orgmailto:oauth@ietf.org Subject: Re: [OAUTH-WG] OAuth Bearer Token draft So is a different

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-08 Thread William J. Mills
Then a single extra reservation is preferable to N, yes? From: Eran Hammer-Lahav e...@hueniverse.com To: William J. Mills wmi...@yahoo-inc.com; Justin Richer jric...@mitre.org Cc: OAuth WG oauth@ietf.org Sent: Tuesday, March 8, 2011 10:02 AM Subject: Re: [OAUTH-WG] OAuth Bearer Token draft I

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-08 Thread Richer, Justin P.
P. Cc: OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft I hope this will be the last time we define a query parameter for delivering what should be sent via a request header field. Infringing on a service's namespace is always a bad idea, no matter what prefix we put next to it. EHL

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-08 Thread Eran Hammer-Lahav
...@hueniverse.com] Sent: Tuesday, March 08, 2011 1:02 PM To: William J. Mills; Richer, Justin P. Cc: OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft I hope this will be the last time we define a query parameter for delivering what should be sent via a request header field. Infringing

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-08 Thread Richer, Justin P.
Hammer-Lahav [e...@hueniverse.com] Sent: Tuesday, March 08, 2011 1:02 PM To: William J. Mills; Richer, Justin P. Cc: OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft I hope this will be the last time we define a query parameter for delivering what should be sent via a request header field

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-08 Thread Brian Eaton
...@hueniverse.com] Sent: Tuesday, March 08, 2011 7:08 PM To: Richer, Justin P.; William J. Mills Cc: OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft No. There is a huge difference between adding parameters to protected resources and defining parameter for OAuth specific endpoints (which

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-03-08 Thread William J. Mills
: [OAUTH-WG] OAuth Bearer Token draft This has been proven true in our deployment as well. On Tue, Mar 8, 2011 at 4:16 PM, Richer, Justin P. jric...@mitre.org wrote: I simply don't agree that there's much difference in practice for many people.  -- justin

[OAUTH-WG] OAuth bearer token draft ready for working group last call

2011-02-28 Thread Mike Jones
As editor, having received no comments on the normative content of draft-ietf-oauth-v2-bearer-03, and having made no breaking changes since draft -01, other than one change voted upon by the working group, I believe that draft-ietf-oauth-v2-bearer-03 is ready for working group last call. I'll

Re: [OAUTH-WG] OAuth bearer token draft ready for working group last call

2011-02-28 Thread Eran Hammer-Lahav
: Monday, February 28, 2011 12:51 PM To: Hannes Tschofenig; Blaine Cook Cc: oauth@ietf.org Subject: [OAUTH-WG] OAuth bearer token draft ready for working group last call As editor, having received no comments on the normative content of draft-ietf-oauth-v2-bearer-03, and having made no breaking

Re: [OAUTH-WG] OAuth bearer token draft ready for working group last call

2011-02-28 Thread Mike Jones
-boun...@ietf.org] On Behalf Of Mike Jones Sent: Monday, February 28, 2011 12:51 PM To: Hannes Tschofenig; Blaine Cook Cc: oauth@ietf.org Subject: [OAUTH-WG] OAuth bearer token draft ready for working group last call As editor, having received no comments on the normative content of draft-ietf

Re: [OAUTH-WG] OAuth bearer token draft ready for working group last call

2011-02-28 Thread Eran Hammer-Lahav
, and examples for each of your new proposals? --- Did I miss a reply? EHL From: Mike Jones [mailto:michael.jo...@microsoft.com] Sent: Monday, February 28, 2011 1:25 PM To: Eran Hammer-Lahav; Hannes Tschofenig; Blaine Cook Cc: oauth@ietf.org Subject: RE: [OAUTH-WG] OAuth bearer token draft ready

Re: [OAUTH-WG] OAuth bearer token draft ready for working group last call

2011-02-28 Thread Eran Hammer-Lahav
: Monday, February 28, 2011 1:34 PM To: Eran Hammer-Lahav Cc: oauth@ietf.org Subject: RE: [OAUTH-WG] OAuth bearer token draft ready for working group last call I realize that we disagree. Unless you change your position, it seems that the working group will need to decide whether registering error

Re: [OAUTH-WG] OAuth bearer token draft ready for working group last call

2011-02-28 Thread Richer, Justin P.
[oauth-boun...@ietf.org] On Behalf Of Eran Hammer-Lahav [e...@hueniverse.com] Sent: Monday, February 28, 2011 4:13 PM To: Mike Jones; Hannes Tschofenig; Blaine Cook Cc: oauth@ietf.org Subject: Re: [OAUTH-WG] OAuth bearer token draft ready for working group last call I am opposed to all the new

Re: [OAUTH-WG] OAuth bearer token draft ready for working group last call

2011-02-28 Thread Eran Hammer-Lahav
: [OAUTH-WG] OAuth bearer token draft ready for working group last call I personally think the error code registry is a good idea, and the resourse parameter registry is a very very bad idea. I also didn't see anything approaching consensus on these changes in the wg, but heres my vote

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-02-26 Thread Torsten Lodderstedt
I agree with your point of view. Consequentely, the parameter name should be something like bearer_token? regards, Torsten. Am 25.02.2011 20:49, schrieb Brian Eaton: My two cents: We've already taken three user visible outages because the OAuth2 spec reused the oauth_token parameter in a way

[OAUTH-WG] OAuth Bearer Token draft

2011-02-25 Thread Phil Hunt
There was some discussion on the type for the authorization header being OAUTH / MAC / BEARER etc. Did we have a resolution? As for section 2.2 and 2.3, should we not have a more neutral solution as well and use authorization_token instead of oauth_token. The idea is that the parameter

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-02-25 Thread Phil Hunt
wishes, -- Mike From: oauth-boun...@ietf.org [mailto:oauth-boun...@ietf.org] On Behalf Of Phil Hunt Sent: Friday, February 25, 2011 11:38 AM To: OAuth WG Subject: [OAUTH-WG] OAuth Bearer Token draft There was some

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-02-25 Thread Eran Hammer-Lahav
[mailto:oauth-boun...@ietf.org] On Behalf Of Phil Hunt Sent: Friday, February 25, 2011 2:41 PM To: Mike Jones Cc: OAuth WG Subject: Re: [OAUTH-WG] OAuth Bearer Token draft Mike, Thanks, I just noticed you addressed the change to BEARER in draft 03 (just published). I could live with the parameter name

Re: [OAUTH-WG] OAuth Bearer Token draft

2011-02-25 Thread Brian Eaton
On Fri, Feb 25, 2011 at 3:03 PM, Eran Hammer-Lahav e...@hueniverse.com wrote: ‘oauth_token’ is limited to bearer tokens only. It is not suitable for anything else. Except that OAuth 1.0 already went out using oauth_token for signed requests. ___ OAuth