, I have created server auth instance by providing it basePath as
"/auth"
"/auth"
and created a route
"/auth/*"
"/auth/*"
. For authClient instance i have provide full baseUrl as
http://localhost:8080/auth
http://localhost:8080/auth
. When i signin with google it sets the cookie but redirects to localhost:8080/auth. what is wrong here?
Solution
I'm using express, and my baseURL in createAuthClient was 'http://localhost:3000' without a '/auth' in front of it. Another issue you might have is that you have to set the callback URL to a full URL. i.e.