Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Geoloqi adapter for Omniauth

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib 0.1.3 June 26, 2012
Octocat-spinner-32 README.markdown
Octocat-spinner-32 omniauth-geoloqi.gemspec
README.markdown

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
Something went wrong with that request. Please try again.