damongolding / immich-kiosk

Immich Kiosk is a lightweight slideshow for running on kiosk devices and browsers that uses Immich as a data source.
GNU Affero General Public License v3.0
535 stars 19 forks source link

Password URL param not working #62

Closed FjellOverflow closed 2 months ago

FjellOverflow commented 2 months ago

Describe the bug When setting KIOSK_PASSWORD: "test123" in ENV, the frontent always gets 401 response even though the password URL-param is set. All works fine when no password set in ENV.

To Reproduce

Expected behavior Can access webapp.

Your Kiosk version 0.7.1

Your Kiosk installation Docker

The URL used to access Kiosk - http://{KIOSK_URL}/show_time=true&time_format=12

Desktop:

damongolding commented 2 months ago

Excellent find.

This is because the moved the method from GET to POST and even though the "password" is set via a url query, it is now sent via form data but Kiosk is still look for it in the queries.

damongolding commented 2 months ago

Should be fixed in 0.7.2 now