Skip to content

givanse/ember-cli-simple-auth-devise

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

ember-cli-simple-auth-devise

Authenticate to a Rails/Devise server from an Ember CLI app.

Step by step guide used to build this project: ember-cli & ember-simple-auth-devise

Current version

The project is currently using:

  • ember-cli 0.1.1
  • ember-simple-auth 0.6.7
  • rails 4.1.8

Build

git clone https://github.com/givanse/ember-cli-simple-auth-devise.git
cd my-backend
bundle update
rake db:migrate
rake db:seed
rails server
cd my-frontend
npm install
bower update
ember init
# say no to every prompt (don't overwrite anything)
ember server --proxy http://0.0.0.0:3000

You can only log in from the ember app.

Two accounts will be already available for log in:

green@mail.com // 12345678
 pink@mail.com // 12345678

About

Authentication is done using ember-simple-auth with ember-cli-simple-auth-devise.

The backend has been completely disabled from creating sessions. If you want to restrict the creation of sessions only for JSON and XML requests, see the branch no-session-for-json.