News for hackers. Stuff that matters.
Re:Rails JS frameworks: Ember.js vs. AngularJS by acmecorps on Thursday November 06, 2014 @11:08AM (#8567635)
May I know, how do you guys handle authentications and "cookies"/tokens?
Re:Rails JS frameworks: Ember.js vs. AngularJS by btown on Thursday November 06, 2014 @02:52PM (#8569343)
You might be interested in https://github.com/lynndylanhurley/ng-token-auth and https://github.com/lynndylanhurley/devise_token_auth, which together collect (what seem to be) best practices for both frontend and backend for token authentication. We're planning on using it for our startup.
Re:Rails JS frameworks: Ember.js vs. AngularJS by Siecje on Thursday November 06, 2014 @11:11AM (#8567649)
Accept authentication using HTTP-BasicAuth and create a token then use the token until it expires.