Invalid Refresh Token: Refresh Token Not found

Hello there, I am using the following command to generate a sign up link, that I later send to the users via my own smtp server.

const { data, error } = await supabase.auth.admin.generateLink({ type: "signup", email, password, options: { redirectTo: ${process.env.NEXT_PUBLIC_ROOT_PROTOCOL}app.${process.env.NEXT_PUBLIC_ROOT_DOMAIN}/${lang}/verify-email, }, });

I was not using the application for more than a week right now, and when I tried the sign up, it does not work anymore. I get the following error:

AuthApiError: Invalid Refresh Token: Refresh Token Not Found

Any idea what could be the cause of this or how to fix this?
Was this page helpful?