Anyone can federate Identity to a variety of easy to use IdPs like Github, Google, and Meta. But ultimately this is putting the controls in someone else's hands. There are some really good SaaS options out there like Auth0, but that is yet another 3rd Party who controls the locks to your house. In "Idp, locally, with Authentik", I show how to setup the open-source version of Authentik in both Docker and Kubernetes. The positives of Authentik is that it's very configurable. But the negatives are also that it is very configurable. Most guides I had seen just show the basic install. In this post we launch locally then build an app (link to Github below for it) that can federate to our own Authentik. I show how to add users, use the federated IdP landing page and then externalize Authentik in how one might deploy. Because this is a real app I may depend upon, we wrap by showing how to use Databasus backups on the PostgreSQL backend.
In "Bye Windows", I catalog my conversion of my gaming PC to Linux. This is the last Windows box in my fleet and I think I just have had enough of Copilot OS. I do not need more advertisements popping up or in my start menu. I walk through all the things I tend to setup - Zed, Homebrew, ffmpeg, imagemagik, cloud connections (AWS, Azure, GCP) and command line tools. I cover the 'fun' stuff as well like Steam and Mullvad VPN. Pretty much once I added VLC, GIMP and OBS, I had all that I needed. I still need to see if I can get the older Canon software working with OBS so I can use the SLR in videos and the older Shure microphone suite isn't there (but the Mic works fine). I might get grief for using Ubuntu instead of something hipper like Arch, but I actually like gnome. I see no reason to make my life harder just for street cred.
Since you read this far, I'll note I also switched to zfs. I use btfs elsewhere and my laptops have just been ext4. I had one hard crash so far and zfs was a champ on reboot so I think it's doing its job. I know a lot of people extol the virtues of ZFS backups, but I treat my daily drivers as crops not flowers so I could care less if it dies and i have to rebuild. Important stuff doesn't stay local anyhow.
URLs:
- Authentik Sample App: https://lnkd.in/gjQdTQQT
Articles:
- Bye Windows: https://kutt.tpk.pw/LpQr3r
- Idp, Locally, with Authentik: https://kutt.tpk.pw/fELACn
#idp #selfhosted #docker #kubernetes #linux #authentik #ubuntu