Implementing Custom Authentication with Retool Self-Hosted Business Plan

I'm currently using Retool Self-Hosted Business Plan and need guidance on implementing a custom authentication flow.

My Desired Authentication Flow:

  1. User accesses Retool app
  2. User is redirected to our custom web authentication system
  3. After successful authentication, user is redirected back to the Retool app

I understand that Retool supports custom login configurations, but I'm not clear on how to implement this flow properly.

Can someone provide documentation, examples, or guidance on:

  • How to configure custom authentication in Retool Self-Hosted
  • Required API endpoints or callbacks
  • Sample implementation code
  • Best practices for this authentication pattern

Any help or resources would be greatly appreciated!

Thank you.

@wmkim77,
Check out these docs to learn about SSO in a Retool app.
Within these docs you'll find several tutorials for configuring SSO with Okta or Google or Microsoft Entra versus a Custom SSO.

Let me know if you have any questions on these docs. :smile: