Quantcast
Viewing all articles
Browse latest Browse all 4826

How can I get ember-simple-auth to work with fastboot?

@alidcastano wrote:

Currently, I have authentication working on my normal ember app, the user can login and signout, routes are protected etc.

I even made the default storage cookies, so that fastboot could have access to the information:

// session-stores/application.js
import CookieStore from 'ember-simple-auth/session-stores/cookie';
export default CookieStore.extend();

However, when I run the app with the fastboot server I get an cannot read property protocol of undefined and a failed to create an instance of 'session-store:application'.

What else do I have to do to get ember-simple-auth to work with fastboot?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles