Redirect after login

Hi, I was wondering how I can redirect a user to a certain link when they login with OAuth.
Here's my login code:
<button
onClick={() => supabaseClient.auth.signInWithOAuth({
  provider: "google",
  options: {
    redirectTo: "/settings" //I've tried variations, i.e. http://localhost:3000/settings and localhost:3000/settings.
  },
 })
}
>Log in</button>


Here are my redirect links under auth/url-configuration:
(keep in mind that I'm hoping to just have http://localhost:3000 and not http://localhost:3000/settings)
image.png
Was this page helpful?