Skip to content

Implement UI for device security and refactor implementation#736

Merged
jona159 merged 9 commits intodevfrom
feat/device-authentication
Feb 6, 2026
Merged

Implement UI for device security and refactor implementation#736
jona159 merged 9 commits intodevfrom
feat/device-authentication

Conversation

@scheidtdav
Copy link
Member

@scheidtdav scheidtdav commented Feb 5, 2026

Type of Change

  • Dependency upgrade
  • Bug fix (non-breaking change)
  • Breaking change
    • e.g. a fixed bug or new feature that may break something else
  • New feature
  • Code quality improvements
    • e.g. refactoring, documentation, tests, tooling, ...

Implementation

  • Replace access_token table with a column on device since it is a one-to-one relationship
  • Name the new column "api key" to better differentiate between user authentication (access_token, refresh_token) and device authentication (api key)
  • New devices automatically generate an api key now
  • Fix tests after db changes
  • Implement ui to enable/ disable authentication
  • Implement copy to clipboard for the api key
  • Added reusable callout component as a convenience method for <Alert> components
  • Implement generating a new api key from ui
  • Add access_token to device transform for api to ensure backwards compatibility

Checklist

  • I gave this pull request a meaningful title
  • My pull request is targeting the dev branch
  • I have added documentation to my code
  • I have deleted code that I have commented out

Additional Information

@jona159 jona159 enabled auto-merge (squash) February 6, 2026 13:17
@jona159 jona159 merged commit 1eca659 into dev Feb 6, 2026
6 checks passed
@jona159 jona159 deleted the feat/device-authentication branch February 6, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to setup device authentication via UI

2 participants