Your app redirects to localhost:3000 because Supabase is configured that way. You need to change it to https://mirhal.app.
- Open your project.
- Click Authentication icon (left sidebar).
- Click URL Configuration (bottom of list).
- Site URL: Change
http://localhost:3000tohttps://mirhal.app
- Use the Add URL button to add these:
https://mirhal.apphttps://mirhal.app/**https://mirhal.app/auth/callback
- Click Save.
- Go to
https://mirhal.app. - Log Out if you are logged in.
- Log In again with Google.
- Watch the URL bar. It should stay on
mirhal.appand NOT go tolocalhost.
Once this is fixed, all your other errors (Profile link, Sync error) will disappear automatically.