This thread was also on the old API developer forum on Gougle Groups. ( https://groups.google.com/forum/?fromgroups#!topic/podio-api/lRYSiUxPs2w)
Still it needs an answer though.
Apparently the implementation of oAuth by Podio is different then Google Apps Script with oAuthConfig expects.
I managed to make a work around by implementing my own method in Apps Script to work with oAuth.
What it does, is it shows a flowpanel with a link to Podio. (function authenticate()) Using that link you can authenticate. If you grant access, you get redirected to a simple html-page that shows another link. (function doGet(e))
Using that link you return to your spreadsheet, but now authenticated.
I didn't get much further than that. I created a simple function to get some data out of an app and dump it in a spreadsheet. If you would want this code to work for yourself you would have to edit this function, to reference one of your own podio apps:
In the end it would be far easier if Podio could play well with oAuthConfig.
The enitre Google script is attached.
Please sign in to leave a comment.