How can I use Rails / Devise without a database?

I am creating a Rails application that does not use a database. Instead, the model is controlled using the Ruby API, which wraps the legacy system.

I have a Ruby call that will allow me to verify the username and password combination. Is it possible to use Devise (or some other ready-made authentication solution) in this case?

My hope is that I can override several methods in Devise and still get many benefits.

Peter.

+5
source share
2 answers

perhaps.

You can override the default authentication and use the remote service using Devise and Warden.

, :

http://4trabes.com/2012/10/31/remote-authentication-with-devise/

, ...

.

+8

All Articles