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

The /refresh/check interface returns a 401 error when the password parameter is set, causing the nowifi icon to be displayed all the time. #148

Closed zgr0629 closed 1 month ago

zgr0629 commented 1 month ago

Describe the bug The /refresh/check interface returns a 401 error when the password parameter is set, causing the nowifi icon to be displayed all the time.

To Reproduce Steps to reproduce the behavior:

  1. set password in config file
  2. open kiosk web page with password parameter, like: http://yourkiosk.com?passowrd=yourpass
  3. See no wifi icon all the time at the top of the page.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

image image

Your Kiosk version 0.11.3

Your Kiosk installation Docker

Your Kiosk ENV or config file

# Required settings
immich_api_key: "xxxxxx"
immich_url: "immich-server:2283"

# Clock
show_time: false # true or false
time_format: 24 # 12 or 24
show_date: false # true or false
date_format: YYYY/MM/DD

# Kiosk behaviour
refresh: 7 # in seconds
disable_screensaver: true # Ask browser to request a lock that prevents device screens from dimming or locking.

# Asset sources
show_archived: false # Allow assets marked as archived to be displayed.
person: # ID(s) of person or people to display
  - ""
album: # ID(s) of album or albums to display
  - "all"
# UI
disable_ui: false # this is just a shortcut for all ui elements (show_time, show_date, show_image_time, show_image_date)
hide_cursor: false # Hide cursor/mouse via CSS.
font_size: 100 # the base font size as a percentage. OMIT the % character
background_blur: true # display a blurred version of image as background
theme: fade # which theme to use. fade or solid
layout: splitview # which layout to use. single or splitview

# Sleep mode
sleep_start: 22 # sleep mode start time
sleep_end: 7 # sleep mode end time

# Transition options
transition: none # cross-fade, fade or none
fade_transition_duration: 1 # in seconds
cross_fade_transition_duration: 1 # in seconds

# Image display settings
show_progress: true # display a progress bar
image_fit: contain # how the image fits the screen. Options are none, contain and cover
image_zoom: true # add a zoom effect to images
image_zoom_amount: 110 # The amount zoomed as a percentage

# Image METADATA
show_image_time: false # true or false
image_time_format: 24 # 12 or 24
show_image_date: true # true or false
image_date_format: YYYY-MM-DD
show_image_exif: true
show_image_location: true

# options that can NOT be changed via url params
kiosk:
  password: "yourpass"
  cache: true # cache select api calls
  pre_fetch: true # fetch assets in the background
  asset_weighting: true # use weighting when picking assets

Any parms passed to the URL used to access Kiosk

Desktop:

Additional context Add any other context about the problem here.

damongolding commented 1 month ago

This is a known bug and has already been patched. I'll push a hot fix rather than waiting till the next Kiosk release as this issue sounds annoying/frustrating to the user.