3 ms·
We're dong lists? Okay then, here's mine, in order of guesstimated value/effort: PiHole, Jellyfin, Matrix Synapse, Vaultwarden, several Matrix bridges (Telegram
by jeroenhd 5y ago
We're dong lists? Okay then, here's mine, in order of guesstimated value/effort: PiHole, Jellyfin, Matrix Synapse, Vaultwarden, several Matrix bridges (Telegram and WhatsApp mostly), Mailcow (postfix+dovecot+sogo+rspamd+…), Home Assistant, Gitlab, Keycloak, Selfoss (RSS), Sonarr+Radarr+Jackett, Nitter, Nextcloud, Seafile.
I've also got a bunch of smaller services that I don't really use as often. I used to run Grocy and Firefly III quite intensively for a while, but Grocy's UI started annoying me too much and tracking finances became too annoying to do every day. I should look into updates on those or alternatives, because they served quite a useful purpose.
- number6 5y agoWhat do you use Keycloak for in this setup?
- jeroenhd 5y agoI'm using a very lazy hack for authenticating web services by letting Apache check the OpenID auth state in the browser and redirecting to Keycloak's login page if the session expired. It's like HTTP Basic Auth but with extra steps. It's basically these rules: OIDCCryptoPassphrase secretsecretsecret OIDCProviderMetadataURL https://keycloak.example.com/auth/realms/realmnamehere/.well-known/openid-configuration OIDCClientID my-web-server OIDCClientSecret secretsecretsecret OIDCRedirectURI https://example.com/authenticated/ OIDCRemoteUserClaim preferred_username <Location /authenticated/> AuthType openid-connect Require valid-user </Location> <Location /sonarr/> AuthType openid-connect Require valid-user </Location> # Sonarr ProxyPass /sonarr http://localhost:8989/sonarr ProxyPassReverse /sonarr http://localhost:8989/sonarr This basically ensures that if you try to visit https://example.com/sonarr https://example.com/sonarr you'll get redirected to Keycloak and asked to log in. It's the main reason I'm still running Apache instead of nginx because I haven't figured out an easy way to do this with nginx. I think you can do it with some custom LUA and an extension?
- number6 5y agoLooks like a Plus Feature, or in deed much config: https://developers.redhat.com/blog/2018/10/08/configuring-nginx-keycloak-oauth-oidc# https://developers.redhat.com/blog/2018/10/08/configuring-ng...
- jeroenhd 5y agoYes, I believe the way to do it with the free version is to use this: https://github.com/zmartzone/lua-resty-openidc https://github.com/zmartzone/lua-resty-openidc You'd have to be careful with custom code like this, though, because it's very easy to try to get the server to send a redirect but end up sending actual content that just has its HTTP status code changed to 301. The example seems to fail with 500 instead of redirecting, that's one way to do it.