Gemfile
gem 'sso-auth'
Run
bin/rails g sso:auth:install
Layout
<body> <%= render :partial => "sso-auth/shared/user_box" %> ... <%= yield %> </body>
This project rocks and uses MIT-LICENSE.