Building a connection to any OAuth service provider has been simplified with Pathfix OAuth Platform.
Pathfix handles Method calls, Refresh tokens and stamping API calls from the point your users click the integration button on your app.
To get started, you need to register your app with the service provider. Each provider will have a dedicated space that will allow you to do this.
We have created the setup documentation for a few providers. This can be found here Integration Setup Docs
If you need help identifying where to register your app with a particular provider, reach out to us and we will get back with the steps for it.
When asked for a Redirect URI, enter the following Pathfix URI: https://labs.pathfix.com/integrate/command
Once you have registered, save the client ID and client secret for use with Pathfix.
Before proceeding, you will need to test the connection to make sure your setup, keys and scopes are correct. Here is how you can run a complete test before proceeding to add the Connect button to your app:
Your test is now complete and you are ready to add the Connect button to your app for your users to click to connect their accounts.
Add the Connect button to your page to allow your users to connect and authorize your app (e.g. Add to Slack, Connect to Google etc.)
You will need to add 2 pieces of script to your page to enable the connection.
Change (MarketSaaS_end_user_id) with the user ID associated with your app. This is generally the email address or unique username or any unique ID associated with your user in your app.
You can change the display text as per your requirements.
Your authorization connection to the service provider is now active.
This will add the functionality that will allow the users to click-to-connect to their account for the service provider.
Pathfix will handle the connection, manage the Access and Refresh Tokens for each user against each provider integration.
Next step is to send API requests (payload) between your app and the service provider, read our documentation on how you can Enable pass-through API.
Need help? Reach out to us at support@pathfix.com and we would be happy to assist!