Frank Spee

Results 11 comments of Frank Spee

For Node.js 18 support you need to use Nuxt 2.16.2 or higher, https://github.com/nuxt/nuxt/releases/tag/v2.16.2, e.g.: > The main change in this patch release is that we now patch the crypto node...

> @bitfactory-frank-spee Could you please sync your PR with the current main? Done 🚀

> I need this. Really this was gone stale? Ahh, I now see that I needed to respond to this, and that I didn't. I have now: https://github.com/sidebase/nuxt-auth/pull/702#discussion_r1810021411

> Found out that these lines are probably the fault here > > [`main`/src/module.ts#L111-L113](https://github.com/sidebase/nuxt-auth/blob/main/src/module.ts?rgh-link-date=2024-03-01T18%3A20%3A45Z#L111-L113) > > And `baseURL` works when you put trailing slash at the end; like so `http://localhost:3333/`,...

True, it is breaking change. I see that. But it should not append `/api/auth` when a variable is set in the config, this is weird behaviour in my opinion. It...

I ran into this problem also. First, I have a simple workaround implemented for now: ``` const { signIn } = useAuth(); const { redirectedFrom } = useRoute(); signIn( {...

> @clcoco It works only for internal navigation though, doesn't it? If I arrive from an external route (ie: a page refresh) it doesn't work. The redirect to the login...

@Vitalii-Kh95 Why can't you adjust your code to this? ``` async function userRegister() { const { redirectedFrom } = useRoute(); try { await signUp( { ...register} ); await signIn( {...

@Vitalii-Kh95 Hmm, if it works it works 🙂. Make sure to check the documentation on local provider here: https://sidebase.io/nuxt-auth/configuration/nuxt-config and here: https://sidebase.io/nuxt-auth/application-side/session-access-and-management