Skip to content

/control/profile endpoint returns 401 unauthorized when web ui password/auth is removed/disabled after upgrading from v0.107.64 to v0.107.65 #7985

@vincejv

Description

@vincejv

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Docker

Setup

On one machine

AdGuard Home version

v0.107.65

Action

AdguardHome.yaml (password is removed by setting users to [])

http:
  pprof:
    port: 6060
    enabled: false
  address: 0.0.0.0:3020
  session_ttl: 720h
users: []
auth_attempts: 5
block_auth_min: 15
http_proxy: ""
language: en
theme: dark
curl 'https://adguard.DOMAIN.TLD:3020/control/profile' \
  -H 'accept: application/json, text/plain, */*' \
  -H 'accept-language: en-US,en;q=0.9' \
  -H 'cache-control: no-cache' \
  -H 'pragma: no-cache' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "Linux"' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: same-origin' \
  -H 'sec-gpc: 1'

Expected result

Return HTTP 200 with correct result

Actual result

Returns 401 unauthorized despite web ui password is disabled

Additional information and/or screenshots

The error also reflects on the web interface
Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions