How to: Remote authentication with Devise - heartcombo/devise GitHub Wiki

You can find info of how to use Devise to authenticate in a remote webservice in this blog post