to navigate to open Esc to close Search by Algolia

Authentik Authentication

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

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

Enable and configure the plugin from the control panel, under UsersAuthentication.

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:

Step 2: Configure the FileRun plugin

Select Authentik OpenID Connect from the Enabled plugin list and fill in:

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

If you are moving from the deprecated Authentik OAuth2 plugin, the client ID and secret you already had are filled in for you. You only have to add the issuer URL.

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

Use the Save and test authentication button before enabling the plugin, and open the test link in a private browser window.

Keep Allow local user accounts to log in enabled until you are sure the setup works. If you are locked out, follow Disabling the 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 ApplicationsProviders section of Authentik. It does not sign users out at Authentik. Use it only for an installation that already depends on it.