/sails_angular_client_side_auth_with_cookies

This project is a port from https://github.com/fnakstad/angular-client-side-auth

Primary LanguageJavaScript

angular-client-side-auth in Sails framework

Build Status

This project is a port from https://github.com/fnakstad/angular-client-side-auth (Frederik Nakstad) but in sails v0.10 rc-04

Start the project locally

$ git clone https://github.com/MGDSoft/sails_angular_client_side_auth_by_cookies.git
$ cd sails_angular-client-side-auth
# create config/local and configure your db in models
$ npm install && bower install && node app

Optional

$ configure all apps (Facebook, Twitter, Google, Github, Linkedin)

Be careful, I`m not a expert in node.

pros

  • Easy use

cons

  • Cookie to get user state
  • Need Server change in restful support

All pull request are welcome !!