Authentication as app is not allowed for this method podio api
Hi, I've created an app and trying to update the app using api. Before update, I'm authenticating the app. Podio::authenticate('app', array('app_id' => 'app_id', 'app_token' => 'app_token' )); PodioAppField::update( $app_id, $fld_id, $attributes ); When I authenticate with app which returns 'Authentication as app is not allowed for this method podio api' error. But this works fine with the user authentication. But I need to authenticate with app. Because I'm using this app for user tracking details. So the users may not have permission to this app. How can I fix this problem? Kindly help me :)

  • I have the same problem, the only difference is that I use the Username & password flow authentication. The user is administrator of the workspace, and I also created the app. Is this authentication flow also not good for deleting apps? Kind regards, Ramiro Hammen
  • Token management is the same for all authentication methods. Use the refresh token to get a new set of access/refresh tokens.
  • I am an admin member for this workspace and not a light user. I'll create a new user for this purpose. But when the access token expires how can we manage this?
  • You can do this through the API no problem, but you have to authenticate as an entity that have the proper permissions. App auth runs with fewer privileges than your Podio user because there's a higher potential for abuse.
  • I'm authenticating the app with its appid and Token. After that I'm calling the api functions. Also I've created this app and I can modify this app through podio. Then why can't I do this through api?
  • In terms of privileges app auth authenticates you as a light user and light users cannot modify the app. If you need to change the app template you need to authenticate as a user. You can create a special user for this purpose if you need to.
This question is closed.