Add OAuth server implementation and Docker Compose configuration

- Introduced a new `compose.yaml` file to define the Docker service for the OAuth server.
- Created `oauth.py` to implement a single-user OAuth authorization server with PKCE, SQLite persistence, and token management.
- Added necessary database schema for OAuth clients, flows, codes, tokens, and login failures.
- Implemented login routes with CSRF protection and error handling.
- Updated `requirements.txt` to include dependencies for the OAuth server.
This commit is contained in:
2026-10-28 23:08:43 -04:00
commit 91b7f312aa
8 changed files with 1342 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
.env
.env.*
!.env.example
secrets/
data/
__pycache__/
*.py[cod]
.env
.env.example