next-auth useSession update on db changes
Unanswered
Scaly-naped Pigeon posted this in #help-forum
Scaly-naped PigeonOP
I did a trigger on users table and inside next-auth its actually listening to new changes , but inside useSession and getServerSession it never updates , i also need the frontend to change when something happens on
[...nextauth]/route.ts