This gem contains the unofficial Yandex OAuth2 strategy for OmniAuth.
gem "omniauth-yandex"
You have to obtain API key for your app at Yandex OAuth app registration page
Don't forget to check these checkboxes like on the screenshot:
use OmniAuth::Builder do
provider :yandex, ENV['YANDEX_KEY'], ENV['YANDEX_PRIVATE_KEY']
end
Copyright (c) 2011 by Kirill Shatrov, Evrone.com