auth0 handleCallback vs handleLogin[returnTo]

Hi, I started playing with next.js + auth0. I am trying to redirect the user to a given address after login, but handleCallback (api/auth/callback) doesn't work. If I add returnTo to handleLogin (pic2), it redirects correctly. What is the callback for in this case? (docs does not help)
1 Reply
Tolek Bajer
Tolek BajerOP3y ago
Want results from more Discord servers?
Add your server