Automatization of access token revalidation process using fetch API
Unanswered
Doberman Pinscher posted this in #help-forum
Doberman PinscherOP
How do i implement revalidation of token using next's fetch? i've tried to use route handler inside of the other route handler but it seems kinda wrong. What is the best approach to check if token is not valid anymore to fetch the new one