Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 844 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 844 Bytes

OmniAuth Sabiá

Gem Version

This file is based on intridea's README.

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

Basic Usage

You must remember to set scopes in order to get granular access to different types of data:

use OmniAuth::Builder do
  provider OmniAuth::Strategies::Sabia, ENV['SABIA_KEY'], ENV['SABIA_SECRET'], scope: "cpf email"
end

License

OmniAuth Sabiá is open-sourced software licensed under the MIT license.