Connect to an OAuth API
OAuth is a way of authenticating with a third-party application by logging into the platform and giving consent for the original application to connect to it.
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 against your workspace. So you only need to create them once and can then use them for multiple different 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". You will be taken to the application and where you can 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 an
Authorization: Bearer <token>
header for the Webflow CMS API.
- Hover over the extension, then clickto open the settings screen.

- Under Workspaces, click "Manage" next to the workspace you want.
- Under OAuth Connections, clicknext to the connection you want to rename.
- 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.
- Hover over the extension, then clickto open the settings screen.

- Clickto open the settings page.
- Under Workspaces, click "Manage" next to the workspace you want.
- Under OAuth Connections, clicknext to the connection you want to delete.
- Click "Delete" on the modal that opens.

Last modified 1yr ago