WIP: Authentication #24

Draft
gm47 wants to merge 8 commits from feature/auth-flow into dev
Member

This PR implements features proposed by #1.

Task list:

  • Application holds an instance of AuthService that can be read/written across views
  • AuthService methods to add/remove accounts
  • AuthService persists account information to disk
  • AuthView can accept a homeserver URL and validate it
  • AuthView can determine what is required for login (user/pass, does it require a registration code?)
  • AuthView can register for an account on a given homeserver
  • AuthView can validate the given login information before passing it to AuthService
  • AuthService should probably do some validation when an account is being added to the store

This list may be added/changed over time


Closes #1

This PR implements features proposed by #1. Task list: - [x] Application holds an instance of AuthService that can be read/written across views - [ ] AuthService methods to add/remove accounts - [ ] AuthService persists account information to disk - [x] AuthView can accept a homeserver URL and validate it - [ ] AuthView can determine what is required for login (user/pass, does it require a registration code?) - [ ] AuthView can register for an account on a given homeserver - [ ] AuthView can validate the given login information before passing it to AuthService - [ ] AuthService should probably do some validation when an account is being added to the store This list may be added/changed over time --- Closes #1
gm47 self-assigned this 2026-01-27 04:31:07 +00:00
gm47 force-pushed feature/auth-flow from baadeb8f37 to 7314030aab 2026-01-27 04:35:25 +00:00 Compare
homeserver validation not yet implemented
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/auth-flow:feature/auth-flow
git switch feature/auth-flow
Sign in to join this conversation.
No description provided.