Ember CLI Addon for the Ember Simple Auth OAuth 2.0 package
JavaScript
Latest commit d122b3a Oct 19, 2015 @marcoow marcoow added deprecation note
Permalink
Failed to load latest commit information.
app/initializers read correct config scope Sep 29, 2014
blueprints/ember-cli-simple-auth-oauth2 0.8.0 Jun 17, 2015
.gitignore use a blueprint Sep 8, 2014
LICENSE Initial commit Jun 25, 2014
README.md added deprecation note Oct 19, 2015
index.js simplified included hook Mar 15, 2015
package.json 0.8.0 Jun 17, 2015

README.md

Ember Simple Auth OAuth 2.0

This repository is deprecated. Ember Simple Auth 1.0 is distributed as an Ember CLI Addon that contains all of the previously individual parts of the library.

This is an npm package that contains the Ember Simple Auth OAuth 2.0 extension library packaged as an Ember CLI Addon.

Installation

Ember Simple Auth OAuth 2.0 requires at least Ember CLI 0.0.44.

ember install ember-cli-simple-auth
ember install ember-cli-simple-auth-oauth2

in your Ember CLI project's root.

If you're using Ember CLI 0.2.2 or older, run

ember install:addon ember-cli-simple-auth
ember install:addon ember-cli-simple-auth-oauth2

If you're using Ember CLI 0.1.4 or older, run

npm install --save-dev ember-cli-simple-auth
ember generate ember-cli-simple-auth
npm install --save-dev ember-cli-simple-auth-oauth2
ember generate ember-cli-simple-auth-oauth2

Configuration

Ember Simple Auth OAuth 2.0 uses the Ember CLI project's configuration as defined in config/environment.js. Configure values for ENV['simple-auth-oauth2'], e.g.:

ENV['simple-auth-oauth2'] = {
  serverTokenEndpoint: 'http://path.com/to/your/access_token/end_point'
};

For the actual Ember Simple Auth repository see https://github.com/simplabs/ember-simple-auth