This topic was automatically generated from Slack. You can find the original thread here.
Hey all, is there a way for us to share a link to have a client that is not a user in our pipedream account connect and oauth account? ex: i share a link, they connect their google account, our pipedream account now has oauth access to their google account?
To achieve the functionality where a client, who is not a user in your Pipedream account, can connect their Google account and grant OAuth access to your Pipedream account, you can use Pipedream’s connected accounts feature. However, Pipedream does not natively support sharing a link for external users to connect their accounts directly to your Pipedream account. Here are some steps you might consider: 1. Create a Custom OAuth Flow: You can create a custom OAuth flow using a web application where the client can authenticate their Google account. This application would handle the OAuth process and store the access tokens securely. 2. Use Pipedream’s External Auth: If you manage credentials in a database or an existing secrets store, you can pass those credentials to Pipedream at runtime using Pipedream’s external auth feature. This way, you can manage the OAuth tokens outside of Pipedream and use them in your workflows. 3. API Integration: Build an API that your clients can call to initiate the OAuth process. Once they authenticate, your API can securely store the OAuth tokens and use them within your Pipedream workflows. For more details on managing connected accounts and using external authentication, you can refer to the following documentation: - Connected Accounts - External Auth If you need further assistance or have specific requirements, you might want to reach out to Pipedream support at Support - Pipedream.
It depends on your use case. Are you wanting to just use a specific connected account from your client in a workflow, just like any other connected account?
i tried creating a connect token, but for some reason i am getting the response “unauthorized” even though i just created the oauth client and secret for my pipedream account and verified it was correct
Check this out in the meantime, since you’re talking about a small number of “end. users” / clients, you might not actually need to do any backend work to generate the token and Connect Link URL: GitHub