How Tekst authenticates with Salesforce

This article explains how Tekst connects to your Salesforce org, which permissions it asks for, and how it relates to Salesforce External Client Apps. It is written for Salesforce administrators and security teams reviewing the Tekst integration.

Summary

  • Tekst connects through the standard Salesforce OAuth 2.0 authorization code flow with PKCE.
  • The connection uses Tekst's connected app, Tekst_ai. Tekst does not install a managed package or any code in your org.
  • Tekst asks for three OAuth scopes only: api, refresh_token, and id.
  • Tekst never uses the username-password flow and never asks for a Salesforce password.
  • Your administrator decides who can use the app and can block it at any time.

No managed package

Tekst does not ship a managed package. Nothing is installed in your org apart from the connected app itself: no Apex classes, triggers, custom objects, or Lightning components. All processing happens in Tekst, and Tekst reads and writes Salesforce data through the standard Salesforce APIs (the REST API, and the Pub/Sub API when real-time events are turned on), with the permissions of the integration user you create.

The OAuth flow

When you connect the integration in Tekst, the following happens:

  1. Tekst sends the browser to your Salesforce login page. If you entered your My Domain (for example, yourcompany.my.salesforce.com), Tekst uses it. Otherwise it uses the standard production or sandbox login page.
  2. Salesforce always asks for a fresh login, so an existing browser session cannot connect Tekst to the wrong org by accident.
  3. The integration user logs in and approves the requested permissions.
  4. Salesforce returns an authorization code to Tekst. Tekst exchanges it for an access token and a refresh token at the same login host. The exchange is protected with PKCE (Proof Key for Code Exchange), so an intercepted code cannot be redeemed by anyone else.

Tekst then calls the Salesforce API as the integration user, and renews the access token with the refresh token.

Requested scopes

Salesforce shows these scopes on the approval screen:

  • Manage user data via APIs (api): read and update records through the API. What Tekst can actually see and change is limited by the permission set of the integration user.
  • Perform requests at any time (refresh_token): keep the connection working without asking the integration user to log in again.
  • Access the identity URL service (id): identify the connected user and org.

Tekst does not ask for full, web, or any other scope.

How your administrator stays in control

  • Who can use the app: set Permitted Users on the Tekst_ai connected app to Admin approved users are pre-authorized, and give access only to the profile of the dedicated integration user.
  • Which data Tekst sees: the permission set of the integration user decides which objects and fields Tekst can read or edit.
  • Network restrictions: Tekst connects from static IP addresses, so you can add login IP restrictions. Ask your Tekst contact for the current list during setup.
  • Revoking access: a System Administrator can block the Tekst_ai app in Setup at any time. This ends all sessions immediately.

The setup steps are in Connect a Salesforce integration, and the ways to remove access are in Revoke Salesforce access.

Connected apps and External Client Apps

External Client Apps are the newer Salesforce framework for OAuth integrations. Since the Spring '26 release, Salesforce restricts the creation of new connected apps by default and recommends External Client Apps for new integrations.

That change does not affect existing connected apps such as Tekst_ai. Salesforce continues to support installing, using, editing, and removing them. You do not need to create an External Client App or change any org setting to connect Tekst.

Does Tekst support External Client Apps? Tekst connects through its Tekst_ai connected app, not through an External Client App. Both use the same OAuth 2.0 standards, and your administrator controls the Tekst_ai app with the same kind of policies: permitted users, profiles, IP restrictions, and blocking.

Does the Salesforce retirement of the username-password flow affect Tekst? No. Tekst uses the authorization code flow with PKCE, which Salesforce continues to recommend.

If your security review needs more detail, contact support@tekst.com.

Was this article helpful?

0 out of 0 found this helpful

0 comments

Please sign in to leave a comment.