Low commit activity in last 3 years
No release in over a year
Official OmniAuth strategies for GeekPark.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.11
~> 10.0
~> 3.0
~> 1.24, >= 1.24.2

Runtime

 Project Readme

OmniAuth GeekPark

This is the official OmniAuth strategy for authenticating to GeekPark.

Usage

use OmniAuth::Builder do
  provider :geekpark, ENV['GEEKPARK_KEY'], ENV['GEEKPARK_SECRET']
end

Change the client options

use OmniAuth::Builder do
  provider :geekpark, ENV['GEEKPARK_KEY'], ENV['GEEKPARK_SECRET'], {
    client_options: {
      site: 'YOUR_SITE_ADDRESS',
      authorize_url: 'YOUR_AUTHORIZE_URL',
      token_url: 'YOUR_TOKEN_URL'
    }
  }
end

Helper

class User < ActiveRecord::Base
  include OmniAuth::GeekPark::Helper
end

see more at code