App authentication and workspace contacts
Hi! I briefly remember a discussion we had a long time ago about the app authentication and the fact the an app cannot access the workspace contacts. Is it still true? I'm developing an automated script that needs to create and assign workspace contacts to items in the app. If that’s not possible, what are your recommendation on how to authenticate? I would rather not rely on a server side user authentication since it can expire and this is something that a regular user will not get in contact with. My other option would be to use an “api-robot” user and the password flow since it will never expire, but the limitations on the password auth flow will become a problem. Thanks for your help! Carl-Fredrik Herö Elvenite | Web Architect carl-fredrik.hero@elvenite.se | http://elvenite.com

  • My memory is a little fuzzy, but I believe app auth only have access to contact used in the same app. They certainly don't have access to all contacts on the workspace. All authentication types expire in the same manner. I.e. you have to use your refresh token within 28 days or it will stop working. If you refresh at least once every 28 days you never have to worry about expiration. For this case I would go with password-based auth and make sure to store access and refresh tokens so you don't have to re-authenticate all the time. /Andreas
This question is closed.