Google Groups

What is the best method for user authentication within an AngularJS project


Marcus Nov 24, 2012 5:59 PM
Posted in group: AngularJS
Hi,

I've been hoping to find some good examples and source code for an environment that allows us to keep a database of users and permissions, authenticate a session, and then allow the user who is logged in to perform various transactions -- all from a CRUD with AngularJS.

I expect this would be primarily a server-side solution with either a token or cookie based session authenticator, having an expiration by inactivity if the user does not log off.  Our application needs to be accessed from any point worldwide, having clients with access to their spaces and account data (mainly logistics and order tracking), while internally we would have 2 or 3 levels of access, read/write limits, reports-only, admin, etc.

Could you all indicate ideas of what would be the best approach, what back-ends could do this, and if there are some generic frameworks that we could integrate to a front-end based on AngularJS ?

All ideas and discussions welcomed :-)

Marcus