↑↓ to navigate ↵ to open Esc to close Search by Algolia

You are reading the documentation of FileRun 2026.4.0, which is not released yet. It is subject to change, so do not use it for planning. Read this page for FileRun 2026.3.0

Authentik Authentication

Authentik is a self-hosted identity provider. FileRun ships two plugins for it:

  • Authentik OpenID Connect — the current plugin. Use this one.
  • Authentik OAuth2 — deprecated. Installations already using it keep working untouched, but moving to the OpenID Connect plugin is recommended.

The OpenID Connect plugin signs users out in both directions, which the OAuth2 one does not.

FileRun connects to Authentik through an authentication source. You add the source in the control panel, under Security → Authentication. For the settings that every source has, such as Role of new user accounts, see Authentication integration.

Step 1: Create the provider and the application in Authentik

In Authentik, create an OAuth2/OpenID provider and the application that uses it.

The provider asks for a redirect URI. FileRun shows the exact value in the Redirect URL field of the plugin's settings; copy it from there with the button next to the field.

From the provider's overview page in Authentik, note down:

  • the Client ID,
  • the Client Secret,
  • the OpenID Configuration Issuer, which ends with /application/o/{application-slug}/.

Step 2: Configure the FileRun plugin

Under Authentication sources, click Add, and select Authentik OpenID Connect in the Plugin list. Then fill in:

  • Issuer URL — the OpenID Configuration Issuer value from Authentik.
  • Client ID and Client Secret — from the same page.

There is nothing else to set in the Authentik OpenID Connect plugin options. Authentik serves the standard OpenID Connect claims, so the scopes and the field mapping are built into the plugin.

Note

If you are moving from the deprecated Authentik OAuth2 plugin, add a new source with the Authentik OpenID Connect plugin. FileRun does not copy the client ID and the client secret of the old source into the new one. Copy them from Authentik, or from the window of the old source. When the new source works, disable the old source, so that the sign-in page does not show two buttons for Authentik.

Signing out

Signing out of FileRun ends the Authentik session as well, with no configuration needed.

To have Authentik end the FileRun session when the Authentik session ends, copy the Back-channel logout URL shown in the plugin's settings and configure it in Authentik as the provider's backchannel logout URL. See OpenID Connect.

Step 3: Testing

Save the source with the Enabled checkbox selected, because the test link works only while the source is enabled. Then select the source in the list of sources, click Test, and open the test link in a private browser window.

While you test, you can limit the source to your own IP address with its IP address limitation option. The other users then do not see its button on the sign-in page.

Important

The superuser can always sign in with the local password. Keep Allow local user accounts to log in enabled until you are sure the setup works, so that the other local user accounts can still sign in with their passwords. If the password of the superuser is lost too, see Authentication integration.

The deprecated OAuth2 plugin

Authentik OAuth2 takes an Authentik URL, a Client ID and a Client Secret, the last two coming from the Applications → Providers section of Authentik. It does not sign users out at Authentik. Use it only for an installation that already depends on it.