So say I send them through the OAuth flow everytime, would there then be any reason to persist their access tokens in the DB? as I could just save it to the session when they run through the flow again.
On Mar 27, 9:39 am, Abraham Williams <[email protected]> wrote: > 2 options: > 1) Roll your own authentication or use something like OpenID, Facbook > Connect, etc. > 2) Send the users through the OAuth flow every time they visit your site. > > Abraham > > > > On Fri, Mar 27, 2009 at 02:29, Chris <[email protected]> wrote: > > > Hey guys, this is probably a pretty basic question - but somehow I > > haven't been able to find the answer... > > > When a user logs into my web app for the first time using OAuth, and I > > receive the "oauth_access_token" and "oauth_access_token_secret", I > > realize I need to save these to the database, but how do I retrieve > > them next time the user comes back? > > > Say the session has expired, and the user above (who has previously > > approved access to my app) comes back and hits Login.. how do I look > > up their access_token & secret_access_token, as at this stage I know > > nothing about them? > > > Thanks, and sorry in advance for what I assume was a lame question :) > > > ./c > > -- > Abraham Williams |http://the.hackerconundrum.com > Web608 | Community Evangelist |http://web608.org > This email is: [ ] blogable [x] ask first [ ] private.
