Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Thaun_
Posts
Comments
TTC
Theo's Typesafe Cult
•
Created by yaviscoke on 10/8/2023 in
#questions
metadata in next-auth
I think you could either use callbackurl on signin, or overriding state, and then read it on signin callback.
signIn
(
"google"
, { callbackUrl:
""
}, { state:
""
});
signIn
(
"google"
, { callbackUrl:
""
}, { state:
""
});
2 replies