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
apost12mo ago
I don't use any auth providers by the way
nrg18
nrg1812mo ago
you are running next auth tho i assume?
apost
apost12mo ago
No nothing I don’t understand why it mentioned that
nrg18
nrg1812mo ago
are you running any other libraries that might impact session management? seems very strange if its not coming from next auth
apost
apost12mo 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