Success handler in custom authentication logic

Is there any way to onSuccess handlers for Custom Auth workflow?.Like I want to show login page and after sucessful login navigate to the dashboard.

We don't currently support branching logic in custom authentication flows, @apoorv-2204. I believe there is an open feature request for that, though, and I can bump it on your behalf.

That said, it sounds like your use case might be a little bit different. Are you wanting to authenticate requests against a single resource or authenticate user sessions? The latter is completely handled by Retool's login page and supports redirects to a designated landing page.

authenticate user sessions
where can i find login page?

I'm referring to the default login page at https://your-domain.retool.com/auth/login, but you can alternatively specify an app to use at your org's login page if you're on a Business plan.