© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
37 replies
Evostance

Setting signInWithOtp Site URL?

I'm trying to do the following, but unable to do so

  const { error } = await supabase.auth.signInWithOtp({
    email,
    options: {
      emailRedirectTo:
        env !== "dev"
          ? "https://v3.example.com"
          : "http://locahost:3000",
    },
  });
  const { error } = await supabase.auth.signInWithOtp({
    email,
    options: {
      emailRedirectTo:
        env !== "dev"
          ? "https://v3.example.com"
          : "http://locahost:3000",
    },
  });


How do I set the redirect URL for this subdomain?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Site URL
SupabaseSSupabase / help-and-questions
13mo ago
signinwithotp
SupabaseSSupabase / help-and-questions
3y ago
Redirect URL not being parsed correctly w/ signInWithOtp()
SupabaseSSupabase / help-and-questions
3y ago
Is signInWithOtp() broken?
SupabaseSSupabase / help-and-questions
2mo ago