Ruby on Rails controller redirect not happening from WEBGL

rails
ruby

#1

My stack overflow post (and bounty!) with the details of the issue is here:

It’s a simple email/password login problem, however instead of using standard email/password fields within rails (which does work), I use a WEBGL template to submit a form via httprequest (works to sign up users, however the redirect doesn’t actually happen.)