Hi All,
I'm very drawn to SilverBullet, I have a feeling it will be just the right tool for me. However I'm struggling with setting up the right authentication flow with Apache and Rauthy.
I have Rauthy doing oauth for all my tools, works beautlfully with Forgejo e.g. or it has replaced my Apache basic auth. on some simple stuff. However with SilverBullet I cannot make it work.
The main tldr is that: SilverBullet will swallow the access issues and won't forward to the auth site, so I get a blank page.
I understand in Apache I have to let he worker and client/* through:
<LocationMatch "^/(service_worker\.js|\.client/.*)$">
AuthType None
Require all granted
Satisfy Any
ProxyPass http://127.0.0.1:3001
ProxyPassReverse http://127.0.0.1:3001
Header set Cache-Control "no-cache, no-store, must-revalidate"
</LocationMatch>
<Location "/">
AuthType openid-connect
Require valid-user
ProxyPass http://127.0.0.1:3001/
ProxyPassReverse http://127.0.0.1:3001/
</Location>
I'm using port 3001. The firs time I start Firefox, it forwards to Rauthy, I can log in and come back authenticated. Works like a charm. If I however exit Firefox, and restart it, I go the SB page, it only shows a bland screen. Apache log clearly shows, that the worker gets through, but the actual content I get 401 -- which is warranted, but I would expect to be sent to the auth page again.
188.36.210.155 - - [05/Mar/2026:20:27:40 +0100] "GET /.fs/Library/Std/Config.md HTTP/1.1" 401 1078 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0"
188.36.210.155 - - [05/Mar/2026:20:27:40 +0100] "GET /.fs/CONFIG.md HTTP/1.1" 401 4032 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0"
188.36.210.155 - - [05/Mar/2026:20:27:41 +0100] "GET /service_worker.js HTTP/1.1" 200 28534 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0"
I was hoping someone figured out how to make this work! All help would be appreciated!
Cheers,
Szabolcs