Skip to content

kzk/omniauth-td

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniAuth Treasure Data Strategy

This gem provides a dead simple way to authenticate to Treasure Data using OmniAuth.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-td'

Usage

use OmniAuth::Builder do
  provider :td
end

Auth Hash Schema

The following information is provided back to you for this provider:

{
  uid: 12345,
  info: {
    account_id: 12345,
    email: '[email protected]'
  },
  credentials: {
    apikey: 'YOUR_TREASURE_DATA_APIKEY'
  },
  extra: {}
}

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Treasure Data Strategy for OmniAuth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages