---
title: "Comment by Elijah Yannick on \"Flutter Authentication Flow with Go Router and Provider\" | Hashnode"
description: "Hi Ishan. Thank you for your article. I have a question, and need some help from you about go_router. First I want to know if the refresh works perfectly on web"
url: "https://hashnode.com/posts/flutter-authentication-flow-with-go-router-and-provider/61c37acec0206b3f41f549c5/comment/62ac4a361a89c91850b1cfa3"
---

[Discussion](https://hashnode.com/posts/flutter-authentication-flow-with-go-router-and-provider/61c37acec0206b3f41f549c5)

Comment [Flutter Authentication Flow with Go Router and Provider](https://hashnode.com/posts/flutter-authentication-flow-with-go-router-and-provider/61c37acec0206b3f41f549c5)

[Elijah Yannick](https://hashnode.com/@elijahyannick)

[Jun 17, 2022](https://hashnode.com/posts/flutter-authentication-flow-with-go-router-and-provider/61c37acec0206b3f41f549c5/comment/62ac4a361a89c91850b1cfa3)

Hi Ishan. Thank you for your article. I have a question, and need some help from you about go\_router.

First I want to know if the refresh works perfectly on web with your implementation. ? I'm working on a web app, with flutter. When I do a browser refresh I'm redirected to login page, and the login does not work again.

[Ishanga Vidusha](https://hashnode.com/@ishanga)

[Jun 17, 2022](https://hashnode.com/posts/flutter-authentication-flow-with-go-router-and-provider/61c37acec0206b3f41f549c5/comment/62ac4a361a89c91850b1cfa3#reply-62ac4e0e1a89c91850b1d066)

GoRouter perfectly works on Flutter web. To keep the login state on browser refresh you should save the state in some persistent storage and get it on app start perhaps you can use splash screen for it. In real-world applications people use may local storage to store access tokens or something to validate the login state.
