A single sign on client based on OAuth, implemented in Rails with devise and omniauth