Skip to content

Instantly share code, notes, and snippets.

@marcoow
Created April 10, 2014 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcoow/10376767 to your computer and use it in GitHub Desktop.
Save marcoow/10376767 to your computer and use it in GitHub Desktop.
Ember.Application.initializer({
name: 'authentication',
initialize: function(container, application) {
Ember.SimpleAuth.setup(container, application, {
authorizerFactory: 'authorizer:oauth2-bearer'
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment