Closed mtaylor closed 11 years ago
Even though this says 'safe to merge', you appear to have the Gemfile.lock here, which I have removed on master, so it may actually need a rebase
Those minor comments aside, this wfm. I turned on oauth in the dummy app and factory, did a get against base_images, which the factory docs say is oauth secured, and got back a successful response. Tests also pass.
https://github.com/aeolus-incubator/tim/issues/95
Adds in the ability to use 2 Legged OAuth for securing requests to imagefactory.
To test. Simply turn on OAuth when running factory (i.e. Do no include --no_oauth). The Factory default settings are:
consumer_key: "mock-key" consumer_secret: "mock-secret"
Add the appropriate configuration in the Tim initializer. A default configuration is already present in the initializer and commented out.