Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Proposed Extension: OAuth Sessions for very large distributed sites
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Adam Rosien  
View profile  
 More options Apr 12 2008, 12:44 pm
From: "Adam Rosien" <adam.ros...@gmail.com>
Date: Sat, 12 Apr 2008 09:44:12 -0700
Local: Sat, Apr 12 2008 12:44 pm
Subject: Re: [oauth-extensions] Re: Proposed Extension: OAuth Sessions for very large distributed sites
Re: Eran's post just now, I would propose adding a discovery element
that says that the AT endpoint may issue a new token from one that is
expired.

The OAuth problem reporting "extension" on the wiki might have
something about this, but it seems to have disappeared.  My link is
http://wiki.oauth.net/ProblemReporting.

.. Adam

On Sat, Apr 12, 2008 at 9:39 AM, Adam Rosien <adam.ros...@gmail.com> wrote:
> On Fri, Apr 11, 2008 at 5:39 PM, John Panzer <jpan...@acm.org> wrote:

>  >  Hey Allen,

>  >  So a dumb question... why can't the session scope be handled with a
>  >  normal Access Token?

>  >  1. Get Access Token scoped to a short session via normal mechanism (say
>  >  it expires in 30 minutes)
>  >  2. When AT expires, you get a 401 Unauthorized with a WWW-Authenticate
>  >  and additional info indicating that it's just a session timeout
>  >  (xoauth_session_timeout, say).
>  >  3. You then re-authenticate; I'd suggest that this be the same as a
>  >  first-time authentication, but you pass in the expired Access Token
>  >  instead of the Request Token.  This lets you do the DB lookup required
>  >  to verify that the user's consent still stands, they haven't changd
>  >  their password, etc. but also lets you mint a new 30-minute Access Token
>  >  and return it to the client.
>  >  4. Lather, rinse, repeat.

>  >  Of course, you control the Access Token in this case and you encrypt
>  >  enough information in it to be able to verify access for up to 30
>  >  minutes without an expensive DB call.

>  >  I think this would be less new spec work and code than a new Session
>  >  Token; all you need is a way to know that you've got a session-scoped
>  >  Access Token, a way to know when it expires, and a way to exchange it
>  >  for a newly minted one.

>  You don't really need to know about expiration as a property of the
>  token.  The provider will tell you it's expired.  So why not just pass
>  the AT back to the AT endpoint, rather than treat it at an RT?  Then
>  the provider can choose to exchange it for a new one.

>  .. Adam


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.