Authentication using OAuth 1.0a ======================= ### Using OAuth (1.0a) A full introduction to OAuth is beyond the scope of the OpenPhoto documentation. In all reality you probably don't need to understand all the ins and outs of OAuth; just grab one of our libraries and start building. * Our PHP language binding * Our Ruby language binding * Our Python language binding * Our Java language binding * Our Javascript language binding * Our Objective-C language binding * More coming soon, contact us if you'd like to write bindings in an unlisted language. ### Obtaining a consumer key and secret Since OpenPhoto is distributed the flow to obtain a consumer key and secret differs slightly from typical OAuth applications. Typically you would sign up for an application ID and be given a key and secret to be used with your app. OpenPhoto differs because the host you'll be sending requests to is arbitrary and there's no central application repository. The easiest way to create a consumer key and secret is to browse to browse to your OpenPhoto site and go to `/v1/oauth/flow`. Follow the prompts until you get a success message. Then go to `/manage/apps` and you should see the following parameters: * Consumer Key * Consumer Secret * OAuth Token * OAuth Secret ### Resources on the web If you're interested in learning more about OAuth then the following links are a great place to start. * http://oauth.net/documentation/getting-started/ * http://hueniverse.com/oauth/guide/intro/ * http://www.slideshare.net/eran/introduction-to-oauth-presentation