I’m trying to build an adapter for a third-party api that requires a token (set in my App.User model). The adapter itself however is registered to another model (App.Workauth).
Everything works fine when I navigate to the route. However when I go directly to the url, the required information for the current App.User is not yet loaded.
I’m trying to sort out how to make sure I have the username and token attributes from the App.User model before I try to load up the App.Workauth route…
Any help would be greatly appreciated!