githubEdit

Setting up Connector Authentication

Learn how to configure authentication for any Connector inside your Fastn Workspace.

Fastn supports multiple authentication types, including OAuth, Basic Auth, API Key, Bearer Token, and Custom Input.

Setting up Connector Authentication

When creating a connector in the Fastn Workspace, you can configure its authentication by enabling ‘Activation’ to reveal all available authentication types, or you can access and edit these settings later by clicking the three dots at the top-right of your connector.

Connector settings menu accessed via three-dot icon showing authentication configuration option
  • You will now see all available authentication modes.

circle-info

These options only appear when Enable Activation is checked.

Authentication modes panel showing OAuth, Basic Auth, API Key, Bearer Token, and Custom Input options

Setting Up Custom Input Authentication

Use this when a connector requires a simple API key, secret key, or any custom field.

In the Custom Input section, you can define fields such as the API key, its description, the input type (password or text), whether it is required, and any expiry-related information.

Custom Input authentication form with fields for API key, description, input type, and expiry settings

Example Input Configuration

When the user clicks Connect, Fastn will display the custom input fields, and if the field type is set to password, the value will remain hidden.

Connect dialog displaying custom input fields with the API key value hidden as a password field

Setting Up OAuth Authentication

Use this when the platform supports an OAuth login screen (e.g., Google, Microsoft, Slack).

In the OAuth section, you can configure the base URL, client ID, client secret (if required), scope, authorization parameters, required attributes, and the tenant ID.

OAuth configuration section with fields for base URL, client ID, client secret, scope, and authorization parameters

What does this section handle?

This part manages the login redirect, the consent popup, and retrieving the authorization code.

circle-info

It does not generate access tokens.

OAuth login redirect and consent popup handling configuration for authorization code retrieval

Setting Up OAuth2 [Authorization & Token Exchange]

The OAuth2 Authorization section is used to exchange the authorization code for an access token, retrieve refresh tokens, and define how tokens should be renewed when they expire:

  • OAuth Grant Type: Specifies how Fastn should request the access token.

  • Access Token URL: URL used to fetch the access token.

  • Refresh Token Grant Type: Defines how expired tokens should be refreshed.

OAuth2 Authorization section with grant type, access token URL, and refresh token configuration

Example OAuth Configurations

In the same format, you can configure OAuth authentication for other connectors as well. For instance, a Microsoft connector would use a configuration like this:

Microsoft OAuth

Last updated

Was this helpful?