Given the loose definition of tokens, any token issued as part of the OAuth flow is an OAuth token. It doesn't mean that an OAuth token cannot be (internally or in practice) using a token format from another protocol. The idea that an OAuth token request may issue something other than an OAuth token is not compatible with the specification language, but this is just terminology and has little to no practical implications.
EHL From: Phil Hunt [mailto:phil.h...@oracle.com] Sent: Monday, February 07, 2011 10:16 AM To: Eran Hammer-Lahav Cc: Dirk Balfanz; Manger, James H; OAuth WG Subject: Re: [OAUTH-WG] Bearer token type and scheme name (deadline: 2/10) I don't agree that at token issued by an OAuth server is by definition an OAuth token. OAuth describes a flow pattern around how tokens may be obtained, etc. There are many types of tokens that could be employed. OAuth does not describe how SP's interpret and use tokens. It only suggests how tokens are presented. Phil phil.h...@oracle.com<mailto:phil.h...@oracle.com> On 2011-02-07, at 9:54 AM, Eran Hammer-Lahav wrote: What don't you agree with? EHL From: Phillip Hunt [mailto:phil.h...@oracle.com] Sent: Monday, February 07, 2011 8:29 AM To: Eran Hammer-Lahav Cc: Dirk Balfanz; Manger, James H; OAuth WG Subject: Re: [OAUTH-WG] Bearer token type and scheme name (deadline: 2/10) -1 I don't agree fully here. Phil Sent from my phone. On 2011-02-07, at 0:02, Eran Hammer-Lahav <e...@hueniverse.com<mailto:e...@hueniverse.com>> wrote: Yes, any token issued via OAuth by an authorization server is an OAuth token by definition. Which makes 'token_type=oauth2' an silly and confusing statement, given that any token issued via this method is also an OAuth 2.0 token... but for some reason only one is labeled oauth2. EHL From: oauth-boun...@ietf.org<mailto:oauth-boun...@ietf.org> [mailto:oauth-boun...@ietf.org] On Behalf Of Dirk Balfanz Sent: Sunday, February 06, 2011 11:16 PM To: Manger, James H Cc: OAuth WG Subject: Re: [OAUTH-WG] Bearer token type and scheme name (deadline: 2/10) On Sun, Feb 6, 2011 at 4:26 AM, Manger, James H <james.h.man...@team.telstra.com<mailto:james.h.man...@team.telstra.com>> wrote: Dirk said: > FWIW, I agree with Brian - it [the "Bearer" scheme] should say OAuth > somewhere, because it's an OAuth token. OAuth can deliver any variety of bearer token: SAML, JWT, SWT, opaque id, anything else. Conversely, any of these tokens can come from a variety of sources: a user-delegation OAuth flow, a client-only OAuth flow, a flow with nothing to do with OAuth, a device interaction, manual configuration.... Yes - they're all still all OAuth tokens, though. As opposed to passwords, basic auth tokens, etc., (which are also bearer tokens, but not OAuth tokens). A server receives a bearer token in a request. Dirk, are you saying the contents of the token (at that it is a bearer token) is not enough for the server? No - I'm sure the server can look at the token and figure out that it's on OAuth token. All I'm saying is that if it's an OAuth token, we should call it an OAuth token. Dirk. Does the server also need to know that it came from an OAuth flow? If so, I suspect the server actually needs to know more than that: such as which OAuth flow was used (eg user-delegation, client-only, assertion, future device flow etc), or from which authorization server it came. I don't think a scheme name saying "OAuth" helps. -- James Manger _______________________________________________ OAuth mailing list OAuth@ietf.org<mailto:OAuth@ietf.org> https://www.ietf.org/mailman/listinfo/oauth
_______________________________________________ OAuth mailing list OAuth@ietf.org https://www.ietf.org/mailman/listinfo/oauth