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.
Enable and configure the plugin from the control panel, under Users → Authentication.
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:
/application/o/{application-slug}/.Select Authentik OpenID Connect from the Enabled plugin list and 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. 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 OAuth2plugin, the client ID and secret you already had are filled in for you. You only have to add the issuer URL.
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.
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 inenabled until you are sure the setup works. If you are locked out, follow Disabling the authentication integration.
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.