Login using Adobe AMF3
I am using Rails3-amf and Devise and would like to login through my flex application. When I POST to Devise::SessionsController#create with the name and password in the params, I get the following
Started POST "/rubyamf/gateway" for 127.0.0.1 at 2010-09-19 21:39:07 -0500 Processing by Devise::SessionsController#create as AMF Parameters: {0=>{"name"=>"test", "password"=>"[FILTERED]"}} Completed in 0ms AbstractController::ActionNotFound Sending back AMF
shouldn't this issue be filed on the plugin itself? also the password is filtered by rails, not the plugin. You just need to disable the parameter filtering, but that will mean all the passwords are logged. I'd probably do a simple two way encryption with a shared secret key that both rails and flex can use
I'm not having a problem with the password being filtered but with not knowing how to configure Devise to parse an AMF request. With a standard controller you would add "format.amf" under "respond_to" to allow AMF requests. I checked the Devise::SessionsController and don't know where to integrate the AMF.