Authentication & Refresh token flow with Nextjs, Typescript, React Query and axios interceptors.
When it comes to authentication in modern web applications, the most standardised and secure way that most developers and companies go with is rotating refresh token flow. Here's a great documentation about the whole flow Refresh access tokens. In th...
Nov 14, 20228 min read12K
