TrueNAS Scale and Authentik for SMB auth

What you want to do is not possible.

You have two options :

  1. Install AD to be source of truth and point both TrueNAS and Authentik to it

  2. Re-use TrueNAS Samba to run AD to be the truth, and point Authentik to it

Or just wait for Oauth support