Adapter for the Omniauth gem. Requires version 1.0 or later.
gem install omniauth-geoloqi
use Rack::Session::Cookie
use OmniAuth::Builder do
provider :geoloqi, 'YOUR CLIENT ID', 'YOUR CLIENT SECRET'
end
# Direct user to '/auth/geoloqi' to start authorization.
get '/auth/geoloqi/callback' do
puts "THE RESULT HASH: #{request.env['omniauth.auth']}"
end
Let us know! Send a pull request or a patch. Questions? Ask! We're here to help. File issues, we'll respond to them!
- Kyle Drake
- Integrate with Geoloqi ruby client
- Better examples