---
title: "Comment by Mohamed Mouloudj on \"Handling Refresh Token with Next.js, Auth.js (next-auth v5) Credentials Provider, and HTTPOnly Cookie\" | Hashnode"
description: "Fire 🔥, even after these years, your approach still works (with some changes oc). Your explanation is so simple and clear 🎯"
url: "https://hashnode.com/posts/handling-refresh-token-with-nextjs-authjs-next-auth-v5-credentials-provider-and-httponly-cookie/66f7425943dc61dba90f29b2/comment/68c737681caaa7d0129f6296"
---

[Discussion](https://hashnode.com/posts/handling-refresh-token-with-nextjs-authjs-next-auth-v5-credentials-provider-and-httponly-cookie/66f7425943dc61dba90f29b2)

Comment [Handling Refresh Token with Next.js, Auth.js (next-auth v5) Credentials Provider, and HTTPOnly Cookie](https://hashnode.com/posts/handling-refresh-token-with-nextjs-authjs-next-auth-v5-credentials-provider-and-httponly-cookie/66f7425943dc61dba90f29b2)

[Mohamed Mouloudj](https://hashnode.com/@MohamedMouloudj)

[Sep 14, 2025](https://hashnode.com/posts/handling-refresh-token-with-nextjs-authjs-next-auth-v5-credentials-provider-and-httponly-cookie/66f7425943dc61dba90f29b2/comment/68c737681caaa7d0129f6296)

Fire 🔥, even after these years, your approach still works (with some changes oc). Your explanation is so simple and clear 🎯
