Authenticating users Ionic App with Rails + Devise backend

Has anyone successfully implemented authentication on an Ionic application that uses a Rails application with Devise as a backend? If so, what implementation did you use to that end?

I have already tried solutions like cloudspace's angular-devise but it doesn't really play well with Devise on the server due to CORS (which I have already included the headers needed for it to work)

The current rails application allows facebook login, it would be nice if the Ionic app had that ability as well.

Try to give this cloudspace's angular-devise another shot

I have combined it with rack-cors

and it worked for me.

Another Implementation via Toke Auth is also working.. An example implementation of the rails part can be found here: https://github.com/julianbei/authService

The Ionic Part can be found here: https://github.com/julianbei/authService/tree/master/mobile

Its not beautiful but a working "quick and dirty" implementation

good luck!