nextjs-authentication icon indicating copy to clipboard operation
nextjs-authentication copied to clipboard

Next.js app with token-based authentication

Results 3 nextjs-authentication issues
Sort by recently updated
recently updated
newest added

// 3. Set up new refresh token as cookie const responseCookie = setCookie.parse(resp.headers['set-cookie'])[0] // 3a. We can't just acces it, we need to parse it first. axiosInstance.defaults.headers.setCookie = resp.headers['set-cookie'] //...

Hi, I noticed that you guys set the token for a request on a global level. [HERE](https://github.com/TheWidlarzGroup/nextjs-authentication/blob/step6-connect/lib/authorize.ts). However, I don't believe that this would work as expected when multiple requests...