Replies: 2 comments 2 replies
-
|
User goes to
Did I explain it good enough? |
Beta Was this translation helpful? Give feedback.
-
yes |
Beta Was this translation helpful? Give feedback.
-
|
User goes to
Did I explain it good enough? |
Beta Was this translation helpful? Give feedback.
-
yes |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to handle the redirection when a user authenticates and also if the user decides to skip the login, I use bloc as a state manager.
The redirection works only if the user is authenticated but it doesn't work when the user decides to skip the login and it throws me a "redirect loop" exception.
what the exception tells me is that it goes from login to home and then to login, the code inside the redirect callback is as follows:
This is the exception that is thrown:
I don't know why it tries to redirect to login when login is skipped
Beta Was this translation helpful? Give feedback.
All reactions