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:
@@ -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/")
|
||||
|
||||
Reference in New Issue
Block a user