angularjs - Angular/Ionic/Phonegap app with rails API web service Auth -


i have decided experiment angular/ionic/phonegap rails api web service backend, create first mobile app.

i rails background , use devise handle user authentication/user object assign roles using rolify.

doing reading, seems me not same methodology have follow mobile app seen in question? ideally have, users sign in / using facebook accounts, create user record. web service assign required roles etc.

so question:

  1. should using devise/rolify/pundit ?
  2. is there better/more efficient way handle process using stack?

thanks

you can use devise omniauth-facebook gem. there nice articles out there on how implement. along this question should able work out.


Comments