0.5.0 • Published 8 years ago

ember-cli-django-rest-auth v0.5.0

Weekly downloads
1
License
LGPLv3
Repository
github
Last release
8 years ago

Ember CLI - Django Rest-Auth

About

A ember component to authenticate against Django Rest-Framework

Install

npm install ember-cli-django-rest-auth --save-dev

Usage

place your auth settings in your environment.js

if (environment === 'development') {
    ENV.APP.API_HOST = 'http://localhost:8000';
    ENV['simple-auth'] = {
      authorizer: 'authorizer:django-rest',
      serverTokenEndpoint: 'http://localhost:8000/api-token-auth/',
      crossOriginWhitelist: ['http://localhost:8000']
    };

Authors