6

I'm Building a website using Ruby on Rails + AngularJS + devise token auth Gem and I want to implement Google Authenticator.

I Found this gem devise_google_authenticator

The problem is that I cannot implement the Gem because I'm using AngularJS.

Hossein Narimani Rad
  • 31,361
  • 18
  • 86
  • 116
dyaa
  • 1,440
  • 18
  • 43
  • 2
    Can you describe the exact problem that Angular causes? Does your Gem return HTML or JSON? Do you need Angular to power your authentication form? – Dmitri Zaitsev Apr 12 '15 at 14:27
  • devise token auth Gem "JSON" yes i need Angular to power your authentication form ... – dyaa Apr 12 '15 at 14:43
  • Then where is the problem? Angular can handle JSON and is completely decoupled from the server. – Dmitri Zaitsev Apr 16 '15 at 15:07
  • this doesn't really helps. Just try to describe what you're currently doing and where you get some errors, issues etc. Maybe look into this question: http://stackoverflow.com/questions/29423383/how-to-keep-globally-current-user-until-logout-with-angular-devise?noredirect=1#comment47480602_29423383 where it is about rails, angular , device Gem and angular-devise . Maybe it helps – Fer To Apr 17 '15 at 15:23

0 Answers0