How to implement refresh token

I wanted to implement the refresh token logic in nextjs app router sdk , I followed the docs but wasn't able to understand the logic/implementation, would appreciate the step by step guide.
Thanks
Was this page helpful?