Several flows end by sending a person back to your app: a confirmation link in an email, a magic link, a password reset, an invitation, a return from Google. To stop attackers redirecting people to a fake site, Pawabase only sends them to addresses you have allowed.
Domains page

Users & auth → Domains: Site URL and Additional redirect URLs.

If a link in an email or a social sign-in does not return to your app, this is the first thing to check.

In Studio

Users & auth → Sign-in → Domains has a Redirects card: Save the page after editing.

Using a redirect in your app

You pass the address as redirectTo (redirect_to in Python) on the call that sends the email or starts the sign-in:
If you leave redirectTo out, people return to the Site URL.

Rules of thumb

  • List exactly the addresses you use. A prefix is convenient, but https://myapp.com covers every path on that site.
  • Keep localhost entries in development only.
  • Use HTTPS for everything except localhost.
  • Mobile apps use a custom scheme (myapp://auth/callback). Register the same scheme in the app.
  • Invitations use the same list: the invite’s redirectTo must be allowed.

Troubleshooting

Email verification

Uses a redirect.

Social sign-in

Returns to a redirect.