Route auth to federation: login_url default, logout URL, federation_url global
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -66,9 +66,9 @@ def market_product_url(product_slug: str, suffix: str = "", market_place=None) -
|
||||
|
||||
|
||||
def login_url(next_url: str = "") -> str:
|
||||
# Auth lives in blog for now. Set AUTH_APP=federation to switch.
|
||||
# Auth lives in federation. Set AUTH_APP to override.
|
||||
from quart import session as qsession
|
||||
auth_app = os.getenv("AUTH_APP", "blog")
|
||||
auth_app = os.getenv("AUTH_APP", "federation")
|
||||
base = app_url(auth_app, "/auth/login/")
|
||||
params: list[str] = []
|
||||
if next_url:
|
||||
|
||||
Reference in New Issue
Block a user