2023-12-15 17:58:12 +00:00
How to set up SilverBullet with Authelia
2023-11-15 08:31:52 +00:00
2023-11-27 16:12:47 +00:00
For SilverBullet to work as intended, some files will need to be excluded from your authentication method of choice. These files always need to be accessible, for example for offline or [[PWA]] support.
2023-07-03 20:51:24 +00:00
The files are the following:
- The web manifest
- The app icon
- The service worker
These files can be whitelisted by adjusting your Authelia configuration to something like this:
```yaml
access_control:
default_policy: deny
rules:
- domain: silverbullet.yourdomain.com
resources:
- '/.client/manifest.json$'
- '/.client/[a-zA-Z0-9_-]+.png$'
- '/service_worker.js$'
policy: bypass
- domain: yourdomain.com
policy: two_factor
```
Please adjust this to fit your specific needs. The important part is that the files are associated with `policy: bypass` .