This topic was automatically generated from Slack. You can find the original thread here.
On Pipedream Connect,
Is it possible to create user accounts (app connections) via API? For example, Odoo connection uses a Token not Oauth so I’d like to programmatically create the connections for all my users via API without their intervention (I can create their tokens from a privileged account)
Or in Google, I could use a Service Account with Domain-wide delegation to create user tokens and create user connections for the domain directly without their intervention
Yea totally agree in concept, but actually in practice it’s basically impossible to support for short lived tokens, since you need to refresh them, which also means you’d have to import the refresh tokens, make sure you’re using the same OAuth client credentials, and that the next refresh honors the expiry of the current tokens.
Odoo is an ERP, so the users here are Employees. In this particular use case I am defining several workflows that sync data in/out of Odoo on behalf of our internal users (around 25).
To facilitate empoyee onboarding, it was my intention to create the Connect account for the employee automatically from an onboarding workflow (I can generate the user token via API, but can’t push it to Connect). ATM I am just delivering the token to HR so they can manually do the Connect part.
(our current pipedream usage is inline with this: bridging internal tools; this is an accounting / law firm)