Skip to content

Elk login fails with 401 Unauthorized on upgraded instances #167

@dahlia

Description

@dahlia

Description

Elk client authentication fails on Hollo instances that were upgraded from 0.5.x to 0.6.x, while working correctly on fresh 0.6.x installations.

Observed Behavior

  • Fresh 0.6.x installs: Elk login works correctly ✅
  • Upgraded 0.5.x → 0.6.x installs: Elk login fails with 401 Unauthorized
  • Other clients: Phanpy and other clients work fine on both scenarios ✅

Error Details

POST /oauth/token endpoint returns 401 Unauthorized when attempting to authenticate via Elk.

Steps to Reproduce

  1. Have a Hollo instance that was previously on 0.5.x with Elk login working
  2. Upgrade to Hollo 0.6.x
  3. Attempt to log in via Elk
  4. Observe 401 error during token exchange

Environment

  • Hollo version: 0.6.x (upgraded from 0.5.x)
  • Client: Elk
  • Working clients: Phanpy, Moshidon, etc.

Additional Context

This suggests there may be a migration issue with existing OAuth client registrations when upgrading from 0.5.x to 0.6.x, specifically affecting how Elk's centralized OAuth flow is handled.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions