Skip to content

Latest commit

 

History

History
executable file
·
18 lines (10 loc) · 370 Bytes

README.md

File metadata and controls

executable file
·
18 lines (10 loc) · 370 Bytes

OmniAuth Jirengu

Basic Usage

use OmniAuth::Builder do
  provider :github, ENV['JIRENGU_KEY'], ENV['JIRENGU_SECRET']
end

Scopes

GitHub API v3 lets you set scopes to provide granular access to different types of data:

use OmniAuth::Builder do
  provider :github, ENV['JIRENGU_KEY'], ENV['JIRENGU_SECRET'], scope: "public,private"
end