Setting persistSession option.

I'm running a cron job on Vercel but I get this error:
No storage option exists to persist the session, which may result in unexpected behavior when using auth.
If you want to set persistSession to true, please provide a storage option or you may set persistSession to false to disable this warning.
No storage option exists to persist the session, which may result in unexpected behavior when using auth.
If you want to set persistSession to true, please provide a storage option or you may set persistSession to false to disable this warning.
Where do I set persistSession?
5 Replies
apost
apostOP2y ago
I don't use any auth providers by the way
nils
nils2y ago
you are running next auth tho i assume?
apost
apostOP2y ago
No nothing I don’t understand why it mentioned that
nils
nils2y ago
are you running any other libraries that might impact session management? seems very strange if its not coming from next auth
apost
apostOP2y ago
the only library i ran is supabase and etherjs the cron job was running fine with just supabase but now that i added etherjs it throws this error though i dont see how this is relatable to etherjs
Want results from more Discord servers?
Add your server