Skip to content

Configure callbacks and verify ​

After deploying to Fly, check that a user can sign in and complete an engine operation.

Configure Supabase Auth ​

In Desktop, open Cloud → Supabase → Sign-in URLs. Review and apply the dashboard origin and its /auth/callback redirect for the selected project. You can also set them in Supabase's URL Configuration. Supabase redirect URL settings

If sign-in email is already configured for the project, use that setup. For a new setup with Postmark, start with Cloud → Supabase → Sign-in email. Postmark setup

Direct SMTP instead of the Kit's hook

Supabase can send sign-in emails independently of the app backend through custom SMTP. Sign-in email → Alternative: direct SMTP offers Postmark SMTP setup with an explicit review and replacement confirmation. Its credentials are stored in Supabase; the app's backend email settings remain separate. Disable an existing Send Email hook in Supabase before using SMTP. Supabase's built-in sender is limited to project-team testing.

Configure provider callbacks ​

If your engine connects an external account, register its OAuth redirect for the hosted dashboard. Use the scopes and credentials declared by that engine.

Airtable OAuth example

For an engine using the default Airtable OAuth callback, register this redirect URL in its OAuth integration:

text
https://app.example.com/api/connect-callback-airtable

Use your dashboard origin, matching SERVE_BASE_URL. The dashboard host proxies the callback to backend /ui/connect-callback-airtable. Follow the engine's Airtable setup for OAuth credentials and scopes. Store the credentials in the selected Fly app's secrets.

OAuth redirects use the dashboard. Provider webhooks reach the backend. Airtable change notifications go to the backend webhook URL registered when an engine with managed webhooks activates. In the generated Airtable → Slack engine, editing an existing record should post a notification to its channel.

Verify the deployment ​

Open the dashboard and sign in using the emailed link. Create and activate an engine in a test workspace, then run an operation and check its result. For the Airtable → Slack engine, edit a record in the test base and look for the notification in Slack.

If the dashboard or callback fails to load, check the backend /health URL and dashboard API routing. In Desktop, open Cloud → Fly deployment and choose Check deployment.

Diagnose a Fly deployment from the terminal

Check fly status and fly logs from the app's directory. The backend's /health endpoint confirms HTTP startup. To verify the database and providers, complete the sign-in and engine checks above.