feat(auth): init Authlib + provider LinkedIn (config env) (#88)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Colin Maudry
2026-06-24 23:11:26 +02:00
parent d72cad90ec
commit d79e990c04
5 changed files with 40 additions and 0 deletions
+3
View File
@@ -19,6 +19,9 @@ def app(users_db_path, monkeypatch):
from src.auth.setup import init_auth
monkeypatch.setenv("SECRET_KEY", "test-secret-key")
monkeypatch.setenv("LINKEDIN_CLIENT_ID", "test-client-id")
monkeypatch.setenv("LINKEDIN_CLIENT_SECRET", "test-client-secret")
monkeypatch.setenv("APP_BASE_URL", "http://localhost:8050")
app = Flask(__name__)
app.config["WTF_CSRF_ENABLED"] = False
init_auth(app)