{"repo":"mamantoha/omniauth-vkontakte","free":true,"listed":false,"github":"https://github.com/mamantoha/omniauth-vkontakte","clone":"git clone https://github.com/mamantoha/omniauth-vkontakte.git","description":"Vkontakte OAuth2 Strategy for OmniAuth","language":"Ruby","stars":140,"topics":["omniauth","vkontakte","ruby","oauth2","vk","ruby-library","omniauth-vkontakte","hacktoberfest"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"OmniAuth VKontakte [![Gem Version][rubygems badge]][rubygems] This is the unofficial OmniAuth strategy for authenticating to VKontakte via OAuth. To use it, you'll need to sign up for an OAuth2 Application ID and Secret on the Vkontakte Developers Page. Installing Add to your Gemfile : Then bundle install Usage OmniAuth::Strategies::Vkontakte is simply a Rack middleware. Here's a quick example, adding the middleware to a Rails app in config/initializers/omniauth.rb : See the example Sinatra app. Configuring You can configure several options, which you pass in to the provider method via a Hash : scope : a comma-separated list of access permissions you want to request from the user. Read the Vkontakte docs for more details display : the display context to show the authentication page. Valid options include page , popup and mobile . lang : specifies the language. Optional options include ru , ua , be , en , es , fi , de , it . image size : defines the size of the user's image. Valid options include mini (50x50), bigger (100x100), bigger x2 (200x200), original (200x ) and original x2 (400x ). Default is mini . info fields : specify which fields should be added to AuthHash when getting the user's info. Value should be a comma-separated string as per http://vk.ru/dev/fields. redirect url : URL where code will be passed. This URL shall be a part of the domain specified in application settings http://vk.ru/dev/auth sites. https : 1 - allows you to receive https links to photos and ot","default_branch":null,"files":null,"tree":[],"storefront":"/r/mamantoha","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mamantoha/omniauth-vkontakte/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}