Hello,
I have been trying to enforce email verification server-side using NextJS.
I am checking the session.user.email_verified
value in my middleware function. However, after having verified the email, this value is not updated.
The only solution I found is forgetting the website client-side, which is not a viable solution for my users.
How should I proceed to get an up-to-date user.email_verified value ?