Connect to a preset OAuth API
Last updated
Last updated
OAuth is an authorization standard that allows you to use your existing accounts on platforms (like Google and Facebook) to access third-party websites and apps and authorize them to perform actions on your behalf.
Under the hood, OAuth works by obtaining and refreshing access tokens. These are obtained when you first log in to the platform and then refreshed as necessary. They are then sent along with API requests to the third-party platform to authorize each request.
When you create OAuth connections in Data Fetcher, they are saved in your workspace. So you only need to create them once and can then use them for multiple requests.
On the create request screen, click "Authorization".
Use the Type dropdown to select "OAuth".
Next to Connection, click "+ New".
Click on the button for the application you want to connect to, e.g., "Webflow". A new window will open, asking you for permission to connect your account to Data Fetcher.
Configure the rest of your API details, e.g. URL, as you normally would and run the request. Authorization headers and parameters will be automatically sent when you run the request. For example, Data Fetcher sets anAuthorization: Bearer <token>
header for the Webflow CMS API.
Under Workspaces, click "Manage" next to the workspace you want.
On the modal, enter the new name in the input.
Click "Save".
Some platforms, e.g. Google, will revoke all your OAuth connections when you revoke one connection. E.g. deleting Goole Analytics would also revoke Google Ads.
Under Workspaces, click "Manage" next to the workspace you want.
Click "Delete" on the modal that opens.
If you do not see the OAuth API that you want to connect to in the list of preset OAuth connection options, you can create a custom OAuth connection.
Hover over the extension, then click to open the settings screen.
Under OAuth Connections, click next to the connection you want to rename.
Hover over the extension, then click to open the settings screen.
Under OAuth Connections, clicknext to the connection you want to delete.