Next.js Authentication Tutorial: Testing

Would be great to see an example that includes tests.

Thanks a lot for the feedback! Let me relay that to the person responsible for that article!

I had a question about this tutorial. I noticed every time i shut down the server i have to log back in again.

Is there a way to persist the session and how I would go about doing this properly? From my research, I ned to modify sessionConfig to include a store key. I saw examples saving it mongo but is that ideal? Ideally I want to persist it in the scope of auth0 but I cant seem to figure it out…

    store: new MongoStore(
    {mongooseConnection:mongoose.connection}
    )     

Hey there! Let me connect you with article author @bruno.krebs to assist you in your struggle!