-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG - Redirect to / in firefox with watchLoggedIn true at any non index #80
Comments
Same with dev branch with strategies, although watchLoggedIn false doesnt work anymore and neither work setting
Chrome still fine and problem still only in ff Disabling nuxt/auth module fixes redirect issue. |
@breakingrobot Figured out a bit . |
@aldarund Hi, thanks for your bug report ! I would like to know if this issue persist with the stable release of 4.0, could you confirm this ? 👍 |
@breakingrobot Cant check in 4.0 because of https://nuxtjs.cmty.io/nuxt-community/auth-module/issues/c83 |
@aldarund Could you try using the |
@breakingrobot second issue with scheme/local gone. But still have first issue with using custom scheme |
@aldarund Could you post your custom scheme as a Gist or link to a reproduction way :) ? |
@breakingrobot https://gist.github.com/aldarund/e6f030287057dc056732b1875eb11297
I dont think scheme itself relevant. It fails on build on resolveProvider it doesnt even touch scheme as far as i understand. |
@aldarund Can you paste the build error stack on |
@aldarund I assume |
@breakingrobot yes. https://i.imgur.com/IRgFGoH.png
|
Your build error seems to report the wrong path:
Shouldn't it be:
Going to investigate why the resolution gave the wrong path. |
@breakingrobot As i understand it doesnt even touch _scheme ( resolveScheme doesnt trigger for custom scheme ) property but rather try to find a provider from a strategy name, so hence it tries apollo dir.
All compiles fine. So it seems to be confused by existence of directory with same name as a strategy and tries to load provider from it or smth like this |
@breakingrobot i have tested with renamed folder to workaround resolve issue. Original issue still persist. It happens only in SPA mode and only in FF ( maybe in some other browsers but i tested only in chrome and FF, chrome fine - FF redirect). In server mode works fine. |
I have this same issue even after 4.3.0. Only in FF. |
Same here, still seeing the same issue after updating to 4.3.0. In Firefox, the
|
This problem should finally be fixed with 4.5.0. https://github.com/nuxt-community/auth-module/releases/tag/v4.5.0 |
With default watchLoggedIn: true in FF every request to any url will be redirected to /.
It only happens on first load, clicking links within app work fine. But on first load you will be just redirected to / . Even with user logged in.
Chrome works fine without redirect
It happens without any use of auth middleware ( so there shouldnt be any redirect at all).
mode - spa.
The text was updated successfully, but these errors were encountered: