Jeronimo Balestra

Results 3 comments of Jeronimo Balestra

Hi! After many hours I've managed to create my own auth middleware to work properly alongside next-intl. Here is the code: **Middleware** ```typescript import { auth } from "@/auth"; import...

> @jero237 How to deal with callbackUrl in signin? > > ``` > signin("credentials", { > email: formData.get("email"), > password: formData.get("password"), > redirect: true, > callbackUrl: searchParams?.get("callbackUrl") || "/", >...