GitXplorerGitXplorer
j

omniauth-ekuaishou

public
3 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
5cb3879f72413b866078e09d017930f9f563b91d

add oauth_type params

jjinhucheung committed 4 years ago
Unverified
13b341a251cf0b98f9eb224ce2c27329964120c7

fix markdown

jjinhucheung committed 4 years ago
Unverified
2af25e6bd2de9883509f22b8fb26e1a6d8e2e7ab

remove active support methods

jjinhucheung committed 4 years ago
Unverified
245128d1504e990a4d82d7a9327a1ab092cd30c3

fix access token hash

jjinhucheung committed 4 years ago
Unverified
53aae8ab6714a3b01b6a12a0f347c6a383cb21b6

add refresh_token_expires_at data

jjinhucheung committed 4 years ago
Unverified
3f3fa0a55524c73b74efbefd0f4f1e5d8c063f6c

add .gem to gitignore

jjinhucheung committed 4 years ago

README

The README file for this repository.

Gem Version Build Status

Omniauth Ekuaishou

This is the official OmniAuth strategy for authenticating to Kuaishou Marketing. To use it, you'll need to sign up for an OAuth2 Application ID and Secret on the Kuaishou Marketing Applications Page.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-ekuaishou'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install omniauth-ekuaishou

Usage

OmniAuth::Strategies::Ekuaishou is simply a Rack middleware. Read the OmniAuth docs for detailed instructions: https://github.com/intridea/omniauth.

Here's a quick example, adding the middleware to a Rails app in config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :ekuaishou, ENV['EKUAISHOU_APP_ID'], ENV['EKUAISHOU_APP_SECRET']
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jinhucheung/omniauth-ekuaishou.

License

The gem is available as open source under the terms of the MIT License.