---
title: "Kakamotobi (@Kakamotobi) | Hashnode"
description: "Kakamotobi (@Kakamotobi) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Kakamotobi"
---

@Kakamotobi

# Kakamotobi

@Kakamotobi · Joined September 2023

## Comments

[Right. I pointed it out because I have the same issue of trying to redirect the user to the signin page while keeping the toast rendered.](https://hashnode.com/posts/authentication-refresh-token-flow-with-nextjs-typescript-react-query-and-axios-interceptors/6371d17cfb40eef9d39b7930/comment/64f5f080f6310e9375f96364#reply-64f5fbbdf6310e9375f964b1)

Reply · Article · Sep 4, 2023 · [Authentication & Refresh token flow with Nextjs, Typescript, React Query and axios interceptors.](https://hashnode.com/posts/authentication-refresh-token-flow-with-nextjs-typescript-react-query-and-axios-interceptors/6371d17cfb40eef9d39b7930)

[In the catch in the response interceptor, wouldn't the toast disappear right away due to window.location.href = window.location.origin?](https://hashnode.com/posts/authentication-refresh-token-flow-with-nextjs-typescript-react-query-and-axios-interceptors/6371d17cfb40eef9d39b7930/comment/64f5f080f6310e9375f96364)

Comment · Article · Sep 4, 2023 · [Authentication & Refresh token flow with Nextjs, Typescript, React Query and axios interceptors.](https://hashnode.com/posts/authentication-refresh-token-flow-with-nextjs-typescript-react-query-and-axios-interceptors/6371d17cfb40eef9d39b7930)
