How to Send "User Is Logging Into App" Alerts from authentik to Discord

authentik can post to Discord out of the box, but the default embed only names the user and the event type. I wanted a short message that says who signed into which app: alex is logging into Grafana Tested on authentik 2026.8. Why the default doesn’t work The plain login event happens at the authentik level, before any app is involved, so it has no app name. The authorize_application event fires when a user is authorized for a specific app. That’s the one to match on. The transport mode called “Slack Webhook (Discord compatible)” uses a fixed embed and ignores property mappings entirely. Step 1: Create a Discord webhook In Discord: Channel Settings → Integrations → Webhooks → New Webhook, then copy the URL. It should look like this: ...

How to Upgrade (and Set Up) authentik on Docker Compose Without Breaking Outposts

authentik upgrades are usually painless, until an LDAP or proxy outpost keeps running the old image and your NAS logins or forward-auth apps start acting strange. This is the routine I use for a Docker Compose install behind Traefik, plus a from-scratch setup at the end. Gotchas to know first sudo cmd > file fails in root-owned directories, because the redirect runs as your user. Write backups to ~/ (or pipe to sudo tee). Keep backups outside the stack directory. Outposts on the Local Docker connection don’t reliably redeploy after a server upgrade. docker stop then docker start does nothing useful: the container comes back on the same old image. It has to be removed so authentik recreates it. The compose file is now compose.yml (it was docker-compose.yml before 2026.2). Diff before overwriting so you don’t lose custom Traefik labels. AUTHENTIK_POSTGRESQL__CONN_OPTIONS is deprecated; remove it from .env. 2026.8 rewrote the proxy outpost, so re-test any forward-auth apps after major upgrades. Upgrading Move one release family at a time. Patch bumps are routine; read the release notes before major bumps. ...