---
title: "Comment by Jiten Basnet on \"Flutter Authentication Flow with Go Router and Provider\" | Hashnode"
description: "Hi Ishan, Thankyou for the article. It was very useful to me. One question i would like to ask though! You have passed the bloc or provider globally above mater"
url: "https://hashnode.com/posts/flutter-authentication-flow-with-go-router-and-provider/61c37acec0206b3f41f549c5/comment/6224252ab9cb874b840ca7f6"
---

[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)

[Jiten Basnet](https://hashnode.com/@GtenSoftware)

[Mar 6, 2022](https://hashnode.com/posts/flutter-authentication-flow-with-go-router-and-provider/61c37acec0206b3f41f549c5/comment/6224252ab9cb874b840ca7f6)

Hi Ishan, Thankyou for the article. It was very useful to me. One question i would like to ask though! You have passed the bloc or provider globally above materialApp here? What about when I need to pass the bloc inside separate routes or sub routes.

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

[Mar 17, 2022](https://hashnode.com/posts/flutter-authentication-flow-with-go-router-and-provider/61c37acec0206b3f41f549c5/comment/6224252ab9cb874b840ca7f6#reply-623315d8da27a31721c8878c)

Sorry for the late reply. I think you can do it using the navigatorBuilder function in the GoRouter. you can get more information from go router documentation. [gorouter.dev/navigator-builder](https://gorouter.dev/navigator-builder)
