Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseβ€’5mo agoβ€’
6 replies
vspuzzler

Login with google with two subdomains

Hi, I want to do log-in with google on two subdomains. One is lets say x.y.ai and the other is y.ai. When a user logins in with google in those respective websites, I want them to be directed to their respective homepages. How do I do this while keep the authentication be the same across these two websites? I want their accounts to be useable across both websites.
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

Angular Login with Google
SupabaseSSupabase / help-and-questions
4y ago
Adonis + Supabase how to login with Google
SupabaseSSupabase / help-and-questions
13mo ago
Python Google Login Help
SupabaseSSupabase / help-and-questions
4y ago
Google auth login issue
SupabaseSSupabase / help-and-questions
3mo ago