Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: sangamgupta85
I am trying to authenticate using warden for JSON based APIs(web services), I have defined my password strategy inside config/initializers as password_strategy.rb which has authenticate! method defined inside it. When I call this authenticate! method from sessions controller's create method, params inside authenticate! method are getting empty some how although I can see my params inside create method of sessions controller, not sure what magic is happening behind the scene.
Since my params are empty my authentication is detected as unauthorized and I am redirected to sessions new method for logging in again even my login credentials are correct.
Any help would be appreciated.
Thanks in advance.