Hi guys hoping someone can help has anyone setup Authelia and Authentik on TrueNAS Scale EE? I installed redis and postgres which seems to be needed for database configuration but can’t seem to figure out how to install the auth apps since it needs a encryption key, jwt secret and session secret.
So currently I’m stuck there if anyone maybe is able to assist it would highly be appreciated.
I’ve been using authentik, which is running in my jailmaker jail, for close to a year now. I’ve followed this video tutorial directly from authentik and use it with traefik labels on my other apps.
The official compose file includes side-container for postgress and redis so you don’t have to manually deploy them.
I had problems getting it deployed via portainer because of the included .env files, so i deploy it direcly via docker compose up.
Yes, it does–first, just don’t use the app; use Docker Compose instead. Or, second, if you really (unwisely, because it’s obviously very poorly designed) want to use the app, the link given above shows you how to generate the secret key and postgres password. Authentik doesn’t ask for a session key or JWT secret; if you’re asking about Authelia, check their docs for how to generate them.
which generates the postgress password and secret key and then stores it in the .env file. the docker-compose file pulls those secrets from the .env file.