However, after my app authenticates it tries to go to the index route. I confirmed the configuration variable used had index as the routeAfterAuthentication property by adding a breakpoint in the sessionAuthenticationSucceeded method of the library.
I tried importing the configuration in the environment.js file ES6-style, but that doesn't seem to be allowed.
I am following the example here, and I have this in my
config/environment.js
file:However, after my app authenticates it tries to go to the
index
route. I confirmed the configuration variable used hadindex
as therouteAfterAuthentication
property by adding a breakpoint in thesessionAuthenticationSucceeded
method of the library.I tried
import
ing the configuration in theenvironment.js
file ES6-style, but that doesn't seem to be allowed.