I'm toying around with a simple web app using Sinatra hosted on heroku. I'm successfully able to obtain an oauth access token using the Sinatra example in https://developers.podio.com/authentication/server_side. But, now I'm a little lost. Now that I have an token how do I start using the API calls. In the example I've defined a podio client and successfully
client_id = 'example'
client_secret = 'example'
:site => 'https://podio.com',
:authorize_url => '/oauth/authorize',
:token_url => '/oauth/token')
Created the appropiate get routes to initiate the auth and receive a callback resulting in the following samples output:
Your OAuth access token: 2fd1b570802a4ceaa2a730b63068d1a2
Now that I have a token can I start using the ruby client methods defined here https://developers.podio.com/clients/ruby?
or do I need to do Podio.Setup and Podio.client.authenticate_with_auth_code or have I bypassed this by following the example with Sinatra?
So in short I have an oauth token what can I do now with my Sintra based ruby app?
Please sign in to leave a comment.