The custom Omniauth strategy

Since we want a single sign-on between our server and our client apps, we
need to write a custom omniauth strategy. This is written in
lib/josh_id.rb. Please implement your own and / or modify as required.