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.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
RSS feeds with authentication | 0 | 126 | June 24, 2008 | |
Detect XML Requests in Before Filter / OAuth | 2 | 143 | July 25, 2008 | |
restful_authentication with web services | 0 | 121 | April 5, 2007 | |
Rspec and restful_authentication | 1 | 119 | October 1, 2008 | |
Basic Authentication fails with curl using restful_authentication plugin | 5 | 124 | September 7, 2007 |