Assistance needed for multipage panel app with custom authentication

Hi everyone,

I’m new to Panel and I’m trying to create a multipage app with custom authentication. However, I’m having trouble finding documentation or examples that cover this specific scenario.

My goal is to prompt the user to enter their username and password, and then use Panel’s default login template or the “authorize” keyword (if there’s another way, please let me know) to retrieve the user’s input in the backend. I want to use this information to test an Oracle connection using the “cx_Oracle” library’s “.connect” method. If the user successfully connects to Oracle, I would like to allow them access to different pages.

Here’s where I’m facing another challenge: I can’t seem to find a straightforward way to route between paths, such as using redirects or rendering specific pages. I have searched through previous questions and the documentation, but I’m still struggling with this aspect. Could anyone please help me understand how I can achieve this?

Thank you in advance for any assistance or guidance you can provide!

Best regards,
Zainab