title: Handle Authentication in NextJS
body: <p>I am setting up a new web application and I wanted some advices for handling my authentication workflow.</p>
  <p>I am fetching the user's data from a custom backend. Once the user is logged in, I got the access token and the refresh token as well.</p>
  <p>I choose NextJs for my front-end with all the benefits it gives. My question is :</p>
  <p>Should I handle the Authentication workflow with NextAuth or Redux ?
  In the first case with NextAuth, I have never implemented the session hook.
  In the redux case, I just dispatch actions and handle the authentication data in the global state of the application.</p>
  <p>Thank you for your advices.</p>