ember-cli-django-rest-auth
v0.5.0
Published
Addon to Ember Simple-Auth to authenticate with Django Rest Framework
Downloads
2
Readme
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']
};