You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 7, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 7, 2026. It is now read-only.
Return RedirectResponse or jinja2Templates' TemplateResponse from an endpoint? #343
I need to redirect the page to some template HTML pages within a fastui endpoint procedure, for example, I need to show the home template page when home link is clicked. so I tried
changed the title [-]how do I return RedirectResponse or jinja2Templates' TemplateResponse from an endpoint?[/-][+]Return RedirectResponse or jinja2Templates' TemplateResponse from an endpoint?[/+]on Aug 14, 2024
Is there no way to go to a template HTML page from a FastUI end point? I just wanted to redirect to a login page once logout endpoint is triggered. What is the recommended way to handle login with a customer login page that is based on template? @zboyles
Activity
[-]how do I return RedirectResponse or jinja2Templates' TemplateResponse from an endpoint?[/-][+]Return RedirectResponse or jinja2Templates' TemplateResponse from an endpoint?[/+]fmrib00 commentedon Sep 7, 2024
Is there no way to go to a template HTML page from a FastUI end point? I just wanted to redirect to a login page once logout endpoint is triggered. What is the recommended way to handle login with a customer login page that is based on template?
@zboyles