Next Js generateStaticParams with Authorization
I’m working on a Next.js basic app. The user first logs in through a separate server that handles authentication. Upon successful login, an access token is stored in the client’s session storage. For API requests from the client, I’m setting this access token in the axiosInstance headers.