Hi I am trying to create a RSS feed in rails which requires
authentication. Can somebody point me on how to add authentication to
RSS feeds.
Thanks
Hi I am trying to create a RSS feed in rails which requires
authentication. Can somebody point me on how to add authentication to
RSS feeds.
Thanks
The restful authentication plugin can use standard HTTP auth when the
client is requesting XML, as will be the case when someone is hitting
an RSS feed. So, simply using that plugin, with the :login_required
before filter in place for your feed action, will cause the
authentication challenge to happen when a feed reader attempts to
load the feed.
–
Benjamin C.
Founder, Catch the Best
http://catchthebest.com/
http://www.bencurtis.com/ – personal blog
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs