You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have better-auth backend and user better-auth client with this rewrite and in serverFn use authClient.getSession and pass cookie and get data with out problem but when try authClient.useSession show like this:
and this my setup
const config = defineConfig({
plugins: [
devtools(),
nitro({
routeRules: {
'/api/**': {
proxy: 'https://example.com/api/**',
},
},
}),
// this is the plugin that enables path aliases
viteTsConfigPaths({
projects: ['./tsconfig.json'],
}),
tailwindcss(),
tanstackStart(),
viteReact(),
],
})
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have better-auth backend and user better-auth client with this rewrite and in serverFn use authClient.getSession and pass cookie and get data with out problem but when try authClient.useSession show like this:

and this my setup
also, I used @uncvrd setup and get result like image but in next.js with url rewrite everything worked good
Beta Was this translation helpful? Give feedback.
All reactions