AFAS classic tokens expire: moving to OAuth

In September 2026 AFAS gave every existing classic token an end date: 1 May 2027. From 1 September 2027 an own app connector in AFAS Profit can no longer use a classic token at all, so every integration with AFAS that still runs on a classic token has to move to OAuth.

This is in the AFAS help article Overstappen van classic tokens op OAuth (in Dutch). Until 31 August 2027 you can still create new classic tokens, but only with a limited validity. AFAS recommends switching well before that date, because external parties are often involved.

Which integrations it affects

Every integration that reads or writes AFAS data through an own app connector. Think of HR data to Active Directory or Entra ID, employees to the service desk, payroll journal entries to accounting, or an export to Power BI. If such an integration runs on a classic token, it stops when the token expires.

Also watch integrations that rarely run. AFAS blocks app connectors that have not been used for six months or longer.

Classic, Hybrid or OAuth

AFAS has three ways to authenticate per app connector:

  • Classic token. Being phased out.
  • Hybrid. Supports classic tokens and OAuth at the same time. This lets you move step by step without the integration going down.
  • OAuth. The new standard. If you switch an app connector straight to OAuth, the classic token stops as soon as the wizard finishes. The integration only works again once OAuth is set up on the other side.

Profit 9 or Profit 8

From Profit 9 a wizard converts an existing app connector to Hybrid or OAuth. Linked connectors and IP restrictions stay in place. You choose Acties / Wijzig authenticatiemethode.

On Profit 8 and earlier you create a new OAuth app connector. You copy the user group, users, connectors, IP restrictions and client certificates yourself.

What to do now

  1. Find the app connectors on a classic token. Go to Algemeen / Beheer / App connector and filter on Onderhoud door klant and Classic token.
  2. Agree with the builder of each integration which application type or OAuth flow it uses, and how you will test.
  3. Convert the app connector, preferably to Hybrid first, so the old connection keeps working until the new one is tested.
  4. Store the client ID and the secret securely. You cannot view the secret later. If you generate a new secret, the old one stops working.
  5. Remove the classic tokens once OAuth works reliably.

Treat 1 May 2027 as your real deadline for existing tokens, not 31 August.

How KoppelHet builds this

KoppelHet gives each integration its own app connector with only the GetConnectors and UpdateConnectors it needs. We set up new integrations on OAuth. If an existing integration still runs on a classic token, we convert it with your AFAS administrator, via Hybrid, and test the new connection before the old token goes. We build this for, among others, AFAS with Entra ID and AFAS with Okta.

Read more on the hub for AFAS or about HR as the source for accounts and access.

Which systems do you want to connect?

Tell us which systems you use and what should happen automatically. Together we define the smallest working solution, with a clear design and a quote before building.