No commit activity in last 3 years
No release in over 3 years
Geoloqi adapter for Omniauth.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

 Project Readme

omniauth-geoloqi

Adapter for the Omniauth gem. Requires version 1.0 or later.

Installation

gem install omniauth-geoloqi

Basic Usage (with Sinatra)

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

Found a bug?

Let us know! Send a pull request or a patch. Questions? Ask! We're here to help. File issues, we'll respond to them!

Authors

  • Kyle Drake

TODO / Possible projects

  • Integrate with Geoloqi ruby client
  • Better examples