Next.js Discord

Discord Forum

Next auth session is not synced up with the backend

Unanswered
Icelandic Sheepdog posted this in #help-forum
Open in Discord
Icelandic SheepdogOP
I am using stripes to process payments, the user initially buys a subscription, then their info is updated. This all works in test mode, but when i deploy, for some reason the session is missing some information.

When I reload the page everything works again.

Is there a way to get the updated session without reloading? I tried useSession but that didn't seem to work.

0 Replies