I'm a big fan of the quality of the code and documentation for Ember's simple-auth but coming back to it after a few months on a new project I'm running into what is probably just a stupid oversight but it is a blocker and I can't seem to figure it out.
I am following the basic installation directions and would like to use the out-of-the-box OAuth2 authenticator (resource owner flow). However, when I state the following configuration:
// config/environment.js
ENV['simple-auth'] = {
authorizer: 'simple-auth-authorizer:oauth2-bearer',
store: 'simple-auth-session-store:local-storage'
};
I get the following error:
The configured authorizer "simple-auth-authorizer:oauth2-bearer" could not be found in the container
I'm using Ember-CLI 0.1.15 and installed simple-auth through the appropriate addon. Also note, that while I installed using the ember install:addon ember-cli-simple-auth
syntax and I also took the extra precaution of manually running ember g ember-cli-simple-auth
just to make sure simple-auth had done all of it's needed initialisation.