Ray
03-07-2011, 10:41 PM
I think I've almost got my head around the principles of providing authentication via authlogic and the single access token, for an iPhone app. I've got the single access token all set up and enabled, and get and post requests working sweetly by passing the user credentials in the URL. However the iPhone dev needs to fetch the SAT to then begin passing it for all subsequent requests.
Is it simply a matter of setting the user session create action to respond to/with json? and perhaps trimming down the json response so that only the token is returned?
i can't seem to find a specific answer to this.
Is it simply a matter of setting the user session create action to respond to/with json? and perhaps trimming down the json response so that only the token is returned?
i can't seem to find a specific answer to this.