Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
lludol
Posts
Comments
BA
Better 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