lludol
lludol
BABetter Auth
Created by lludol on 4/15/2025 in #help
disable magic link redirect and any other redirect
I found a way to bypass the redirect:
await authClient.magicLink.verify({
query: { ... },
fetchOptions: {
...
redirect: 'manual',
},
});
await authClient.magicLink.verify({
query: { ... },
fetchOptions: {
...
redirect: 'manual',
},
});
But would have been better if we can disabled that directly on better-auth
3 replies