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.
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
OmniAuth Sabiá is open-sourced software licensed under the MIT license.