My authentification token gets deleted right after login redirection

Hi,

My (nextjs) website delete cookie right after authentification.
I’m fairly new on authentification and token processes, so i don’t really know how to track why it’s happening.

Any ideas?

Hello @Dranak,

Welcome to the Auth0 community!

There might be a problem with the way you set up your Nextjs application with Auth0.

I recommend checking the following guide as it demonstrates how to integrate Auth0 with both a new and existing Nextjs app:

I hope this was helpful and if you have further questions please don’t hesitate to come back.

Thanks,
Tudor

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.