GitHub - nmax/ember-cli-simple-auth-devise: Authenticate to a Rails/Devise server from Ember CLI. · GitHub
Skip to content

nmax/ember-cli-simple-auth-devise

 
 

Folders and files

Repository files navigation

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.0.37
  • ember-simple-auth 0.6.3
  • rails-csrf 0.0.4

Build

git clone git@github.com:givanse/ember-cli-simple-auth-devise.git
cd my-backend
bundle update
rake db:migrate
rake db:seed
rails server

You can sign up and log in from the server pages.

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 disabled to send session cookies for json and xml requests, see commit#b803fad. For other options, check this thread: ember-simple-auth#201

About

Authenticate to a Rails/Devise server from Ember CLI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors