-
Notifications
You must be signed in to change notification settings - Fork 2
Installation and basic usage
Alexander Keramidas edited this page Jun 28, 2017
·
5 revisions
If you are familiar with OmniAuth gems, all you need to do is install and declare Authentiq in the omniauth.rb initializer.
Add this line to your application's Gemfile
gem 'omniauth-authentiq', '~> 0.3.0'
Then bundle:
$ bundle install
use OmniAuth::Builder do
provider :authentiq, ENV['AUTHENTIQ_KEY'], ENV['AUTHENTIQ_SECRET'],
scope: 'aq:name email~rs aq:push'
end
This should get you up and running quickly.
However if you want more information, you can continue reading to the next chapter about available scopes, callback url configuration and response examples.
Official Authentiq OmniAuth strategy wiki