jorge-menjivar / unsaged

Open source chat kit engineered for seamless interaction with AI models.

Home Page:https://unsaged.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"No storage option exists to persist the session" error with Supabase

johnbrownlow opened this issue · comments

Getting the following error when running locally:

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

Still getting this error with the fix for some reason (after npm ci to clean everything up)

Will look more into this. This is just a warning though. It should not affect the app as we are not relying on supabase auth. We use nextauth instead.

Will look more into this. This is just a warning though. It should not affect the app as we are not relying on supabase auth. We use nextauth instead.

This issue is persisting with me, and I cannot proceed past, so this is definitely more than a warning. I also receive the same 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. [next-auth][warn][NEXTAUTH_URL] https://next-auth.js.org/warnings#nextauth_url

Going into the localhost takes me to a signin screen with nothing on it. I'm sure there is likely some user error afoot but I feel confident that I followed the readme pretty faithfully. I'm literally unable to proceed to even try the features. 😬
signinthing

@Jmackles That happens because you don’t have any auth providers configured. Once you have auth providers configured they will start populating there. Ideally we would want a warning of some kind to show up and let you know about this, I just haven't gotten the chance to do it yet.

I am receiving this same error, with the same localhost behavior and I do have auth providers configured. I'll continue testing to see if I can narrow something down

Behavior remains unchanged when setting NODE_ENV to production as well.

#34 Fixes this