linuxserver / reverse-proxy-confs

These confs are pulled into our SWAG image: https://github.com/linuxserver/docker-swag
GNU General Public License v3.0
1.33k stars 300 forks source link

Add `/s` auth bypass for Photoprism #600

Closed ajnart closed 1 year ago

ajnart commented 1 year ago

/s is the path that corresponds to semi-publicly available share URLs in Photoprism (they still require a secret key in the URL), this commit make it so that they are bypassed by the authentification method.

As referenced in https://github.com/linuxserver/docker-mods/issues/372#issuecomment-1696145759

ajnart commented 1 year ago

As mentioned in the issue above, he client requests the url in /library/albums/ when using a /s/ link. Therefore it's redirected to authelia and forced to log-in, making these changes useless.