Skip to content

lais-huol/omniauth-sabia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.