Implement metadata for RestrictedForward, set by /auth/api/forward endpoint when returning the app. Use this to implement support for time-based reauth requirement.

This commit is contained in:
2025-12-02 23:39:31 +00:00
parent 8714fe9319
commit fd9a5afc1c
8 changed files with 220 additions and 32 deletions
+5
View File
@@ -59,6 +59,11 @@ app.mount(
StaticFiles(directory=frontend.file("auth", "assets")),
name="assets",
)
app.mount(
"/int/",
StaticFiles(directory=frontend.file("int"), html=True),
name="int",
)
@app.get("/auth/restricted/")