Hi everyone,
I’ve recently deployed silverbullet in my home lab but i’m having some trouble using authelia with it. I whitelisted some subfolders as described here : Authelia
but when i access silverbullet after logging out i can’t access to the offline version of silverbullet. Authelia’s logs report many redirects, but silverbullet seems to be refreshing while using a lot of CPU. Here are the logs :
authelia | time="2024-07-13T21:03:01+02:00" level=debug msg="Check authorization of subject username= groups= ip=192.168.112.2 and object https://silverbullet.local.marvyn-rioux.fr/service_worker.js (method GET)."
authelia | time="2024-07-13T21:03:01+02:00" level=debug msg="Check authorization of subject username= groups= ip=192.168.112.2 and object https://silverbullet.local.marvyn-rioux.fr/SETTINGS.md (method GET)."
authelia | time="2024-07-13T21:03:01+02:00" level=info msg="Access to https://silverbullet.local.marvyn-rioux.fr/SETTINGS.md (method GET) is not authorized to user <anonymous>, responding with status code 401 with location redirect to https://auth.local.marvyn-rioux.fr/?rd=https%3A%2F%2Fsilverbullet.local.marvyn-rioux.fr%2FSETTINGS.md&rm=GET" method=GET path=/api/verify remote_ip=192.168.112.2
authelia | time="2024-07-13T21:03:01+02:00" level=debug msg="Check authorization of subject username= groups= ip=192.168.112.2 and object https://silverbullet.local.marvyn-rioux.fr/index.json (method GET)."
authelia | time="2024-07-13T21:03:01+02:00" level=info msg="Access to https://silverbullet.local.marvyn-rioux.fr/index.json (method GET) is not authorized to user <anonymous>, responding with status code 302 with location redirect to https://auth.local.marvyn-rioux.fr/?rd=https%3A%2F%2Fsilverbullet.local.marvyn-rioux.fr%2Findex.json&rm=GET" method=GET path=/api/verify remote_ip=192.168.112.2
authelia | time="2024-07-13T21:03:01+02:00" level=debug msg="Check authorization of subject username= groups= ip=192.168.112.2 and object https://silverbullet.local.marvyn-rioux.fr/index.json (method GET)."
authelia | time="2024-07-13T21:03:01+02:00" level=info msg="Access to https://silverbullet.local.marvyn-rioux.fr/index.json (method GET) is not authorized to user <anonymous>, responding with status code 401 with location redirect to https://auth.local.marvyn-rioux.fr/?rd=https%3A%2F%2Fsilverbullet.local.marvyn-rioux.fr%2Findex.json&rm=GET" method=GET path=/api/verify remote_ip=192.168.112.2
authelia | time="2024-07-13T21:03:02+02:00" level=debug msg="Check authorization of subject username= groups= ip=192.168.112.2 and object https://silverbullet.local.marvyn-rioux.fr/service_worker.js (method GET)."
Can someone help me figure out why silverbullet doesn’t effectively redirect me to the login page ?
Thank you for your help