This strategy authenticates against Zendesk via OAuth2. You'll need an OAuth2 Application ID and Secret. See the Zendesk help page for details.
use OmniAuth::Builder.do
provider :zendesk, ENV['ZD_CLIENT'], ENV['ZD_SECRET'], client_options: {
site: 'https://yours.zendesk.com'
}, scope: 'read'
end
Scope can be either read
, write
or read write
.