feat(auth): install all authentication providers by default
lint / docker (push) Waiting to run

All authentication methods (Basic Auth, Flask-Login, OAuth) are now
installed as core dependencies instead of optional extras. This
simplifies setup and eliminates the need to run `uv sync --extra auth-*`
when switching between authentication methods.

Changes:
- Move authlib, bcrypt, and flask-login to core dependencies
- Remove auth-* optional dependency groups from pyproject.toml
- Update documentation to remove installation instructions
- Simplify troubleshooting and migration guides

Benefits:
- No import errors when switching auth methods
- Simpler user experience
- All providers available out of the box

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-05 21:17:30 +02:00
co-authored by Claude
parent 12f35934a9
commit 38a0d788d4
4 changed files with 18 additions and 89 deletions
Generated
+7 -27
View File
@@ -649,7 +649,10 @@ name = "tisbackup"
version = "1.8.0"
source = { virtual = "." }
dependencies = [
{ name = "authlib" },
{ name = "bcrypt" },
{ name = "flask" },
{ name = "flask-login" },
{ name = "huey" },
{ name = "iniparse" },
{ name = "paramiko" },
@@ -663,23 +666,6 @@ dependencies = [
]
[package.optional-dependencies]
auth-all = [
{ name = "authlib" },
{ name = "bcrypt" },
{ name = "flask-login" },
{ name = "requests" },
]
auth-basic = [
{ name = "bcrypt" },
]
auth-login = [
{ name = "bcrypt" },
{ name = "flask-login" },
]
auth-oauth = [
{ name = "authlib" },
{ name = "requests" },
]
docs = [
{ name = "docutils" },
{ name = "sphinx" },
@@ -691,15 +677,11 @@ docs = [
[package.metadata]
requires-dist = [
{ name = "authlib", marker = "extra == 'auth-all'", specifier = ">=1.3.0" },
{ name = "authlib", marker = "extra == 'auth-oauth'", specifier = ">=1.3.0" },
{ name = "bcrypt", marker = "extra == 'auth-all'", specifier = ">=4.0.0" },
{ name = "bcrypt", marker = "extra == 'auth-basic'", specifier = ">=4.0.0" },
{ name = "bcrypt", marker = "extra == 'auth-login'", specifier = ">=4.0.0" },
{ name = "authlib", specifier = ">=1.3.0" },
{ name = "bcrypt", specifier = ">=4.0.0" },
{ name = "docutils", marker = "extra == 'docs'" },
{ name = "flask", specifier = "==3.1.0" },
{ name = "flask-login", marker = "extra == 'auth-all'", specifier = ">=0.6.0" },
{ name = "flask-login", marker = "extra == 'auth-login'", specifier = ">=0.6.0" },
{ name = "flask-login", specifier = ">=0.6.0" },
{ name = "huey", specifier = "==2.5.3" },
{ name = "iniparse", specifier = "==0.5" },
{ name = "paramiko", specifier = "==3.5.1" },
@@ -707,8 +689,6 @@ requires-dist = [
{ name = "pexpect", specifier = "==4.9.0" },
{ name = "redis", specifier = "==5.2.1" },
{ name = "requests", specifier = "==2.32.3" },
{ name = "requests", marker = "extra == 'auth-all'", specifier = ">=2.32.0" },
{ name = "requests", marker = "extra == 'auth-oauth'", specifier = ">=2.32.0" },
{ name = "ruff", specifier = ">=0.13.3" },
{ name = "simplejson", specifier = "==3.20.1" },
{ name = "six", specifier = "==1.17.0" },
@@ -718,7 +698,7 @@ requires-dist = [
{ name = "sphinx-tabs", marker = "extra == 'docs'" },
{ name = "sphinxjp-themes-revealjs", marker = "extra == 'docs'" },
]
provides-extras = ["auth-basic", "auth-login", "auth-oauth", "auth-all", "docs"]
provides-extras = ["docs"]
[[package]]
name = "urllib3"