I don't know for sure, but I used devise, but then I ended up cutting out most of the functionality, so it probably would have been easier to go a different route. I don't use any of the devise views except for the link that one clicks from their email when they forget their password. The login and account settings are just part of my single-page app. I ended up not using the devise login route either -- I forget why, but it was doing something extra.
So, I'd love to hear what the canonical way to do that is, too. On Tue, Oct 1, 2013 at 11:56 AM, Mehmet BEYDOĞAN <mbbr...@gmail.com> wrote: > I'm currently working on an API only Rails application. It has a web ui > which is built with AngularJS and there will be a mobile app. Web and > mobile apps will use same rails application and exchange data with JSON. > > But I'm having issues with user authentication. How can i handle this? > Should i use oauth2 and devise? I'm not able to figure it out. > > Regards. > -Mehmet. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/2449ac83-4bab-4f17-bc4d-a0b3a4ea23f3%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CABceSpBKXKjE5OjFaQs9wGUCDbxz3CeqwDk9Gt9xTg5qj6XWqA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.