auto: sync
This commit is contained in:
parent
536efc4d75
commit
5a06158ef3
6
main.py
6
main.py
|
|
@ -41,6 +41,12 @@ from authlib.integrations.starlette_client import OAuth
|
||||||
import sendgrid
|
import sendgrid
|
||||||
from sendgrid.helpers.mail import Mail
|
from sendgrid.helpers.mail import Mail
|
||||||
|
|
||||||
|
app = FastAPI(
|
||||||
|
title="OSVauco OPAX Agent",
|
||||||
|
description="Agent for OSVauco-OPAX platform.",
|
||||||
|
version="0.1.0",
|
||||||
|
)
|
||||||
|
|
||||||
# ── AUTH & SESSION ────────────────────────────────────────────────────────────
|
# ── AUTH & SESSION ────────────────────────────────────────────────────────────
|
||||||
# Add session middleware for storing auth state
|
# Add session middleware for storing auth state
|
||||||
app.add_middleware(SessionMiddleware, secret_key=os.environ.get("SESSION_SECRET"))
|
app.add_middleware(SessionMiddleware, secret_key=os.environ.get("SESSION_SECRET"))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user