plataformatec/devise — Issue #1683: Add Documentation for API's and params_authenticatable
Author: apolzon
Created: 2012-02-27 23:18:58+00:00
State: open

Just upgraded an app which included both a web authentication scheme and an api authentication scheme. Because it is very awkward, if not confusing, to have an api inherit from the Devise::SessionsController, the newly added before filter "allow_params_authentication!" is not called from our API auth controllers.

We solved this by explicitly adding our own before filter in our api auth controllers, but this is something that should be made more simple to discover.