Sinatra OAuth Workflow: Use This to Speed Up Your App Development

With this Sinatra workflow, your app development will be as smooth as Frank
When you need to connect to multiple different APIs, it can take a long time to manage your OAuth workflow for each third-party app. On a recent app development project, I was getting really agitated using cURL for every step in the process while working on pulling in data from multiple apps. So I decided to do something about it. I’m a programmer, damn it.

While I don’t have a magic solution, I created a Sinatra OAuth proxy app that works with Harvest. This sped up development for connecting with Harvest, and with small changes, the same code can also work for other applications. For example, I tested it out on Foursquare and the same code mostly worked.

This is the code I used to speed up OAuth and inspect the third party app’s API.

Check out other articles we've written about streamlining development

7 Reasons Why You Should Take a Project Temperature in Application Development

What Types of Meetings Make A Successful Application Development Project?

How do you handle OAuth without cURLin’ all day long? Comment and let us know.

Image Source

You've successfully subscribed to SmartLogic Blog
Great! Next, complete checkout for full access to SmartLogic Blog
Welcome back! You've successfully signed in.
Unable to sign you in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.