ember-simple-auth
ember-simple-auth copied to clipboard
Nesting auth routes under empty path overrides app index route
Ember 3.18.1 ember-simple-auth 3.0.0
I am attempting to use the recommendation in the ember-simple-auth documentation to nest all authenticated routes under a route with path = "". That seems to be working except for the fact that Ember is changing the empty route to "/", overriding the application index route. If I set the authenticated route path to "/auth", then the application index route works again, but then all of the authenticated routes have the unwanted prefix "/auth".
Same here. It caused issues especially with FastBoot, looks like FastBoot was confused when hitting / and there was no session available anymore. I don't know. Have you found a fix yet?
I am still using the workaround of having a "/auth" prefix on all the authenticated routes. It is working fine that way except for the undesirable URLs. And nesting seems to be the only way to set authenticationRoute in a single location now that Configuration.authenticationRoute has been deprecated.