1
0
silverbullet/website/Authelia.md
2023-11-15 09:31:52 +01:00

865 B

How to setup SilverBullet with Authelia

In order for SilverBullet to work as intended, some files will need to be excluded from your authentication method of choice. These files need to always be accessible, for example for offline or PWA support.

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:

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.