All Projects → evrone → omniauth-yandex

evrone / omniauth-yandex

Licence: MIT License
Omniauth 1.0 strategy for Yandex.ru

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to omniauth-yandex

YaSeeker
Yandex OSINT tool
Stars: ✭ 104 (+447.37%)
Mutual labels:  yandex
yandex-direct-api
PHP library for Yandex.Direct API v5 (abandoned)
Stars: ✭ 12 (-36.84%)
Mutual labels:  yandex
mystem-scala
Morphological analyzer `mystem` (Russian language) wrapper for JVM languages
Stars: ✭ 21 (+10.53%)
Mutual labels:  yandex
translate
A module grouping multiple translation APIs
Stars: ✭ 321 (+1589.47%)
Mutual labels:  yandex
YandexAlgorithms
Lecture notes, Code with comments.
Stars: ✭ 30 (+57.89%)
Mutual labels:  yandex
yandex-dialogs-php-sdk
PHP-библиотека для облегчения работы с диалогами от Яндекс
Stars: ✭ 23 (+21.05%)
Mutual labels:  yandex
robots-txt-parser
PHP class for parse all directives from robots.txt files according to specifications
Stars: ✭ 38 (+100%)
Mutual labels:  yandex
vue-yandex-metrika
Vue plugin for Yandex Metrika
Stars: ✭ 64 (+236.84%)
Mutual labels:  yandex
appmetrica-logsapi-loader
A tool for automatic data loading from AppMetrica LogsAPI into (local) ClickHouse
Stars: ✭ 18 (-5.26%)
Mutual labels:  yandex
passport-yandex
Yandex authentication strategy for Passport and Node.js.
Stars: ✭ 19 (+0%)
Mutual labels:  yandex
yandex-checkout-node
Node.js SDK for Yandex.Checkout (unofficial)
Stars: ✭ 64 (+236.84%)
Mutual labels:  yandex
Yandex.Music.Api
Client Yandex.Music.Api for Yandex.Music
Stars: ✭ 53 (+178.95%)
Mutual labels:  yandex
omniauth-okta
OAuth2 strategy for Okta
Stars: ✭ 29 (+52.63%)
Mutual labels:  omniauth
xy2xy
A list of technologies similar to inner Yandex technologies
Stars: ✭ 112 (+489.47%)
Mutual labels:  yandex
safe-search
Sets the built-in adult content filter (most often: safe search) on Google, YouTube, Bing, Yahoo, DuckDuckGo, Startpage, Dogpile, Yandex, Vimeo, Reddit, Ecosia, Dailymotion, Qwant, and Patreon.
Stars: ✭ 16 (-15.79%)
Mutual labels:  yandex
rails 6 devise example
rails 6 with devise + bootstrap + github oauth
Stars: ✭ 65 (+242.11%)
Mutual labels:  omniauth
yandex-translate-api
A simple REST client library for Yandex.Translate
Stars: ✭ 29 (+52.63%)
Mutual labels:  yandex
kodi.plugin.yandex-music
Yandex Music plugin for Kodi
Stars: ✭ 33 (+73.68%)
Mutual labels:  yandex
js-new-features
Новые возможности JavaScript — ШРИ 2018
Stars: ✭ 19 (+0%)
Mutual labels:  yandex
artefactory-connectors-kit
ACK is an E(T)L tool specialized in API data ingestion. It is accessible through a Command-Line Interface. The application allows you to easily extract, stream and load data (with minimum transformations), from the API source to the destination of your choice.
Stars: ✭ 34 (+78.95%)
Mutual labels:  yandex

Yandex OAuth strategy for OmniAuth

travis Maintainability Reviewed by Hound

This gem contains the unofficial Yandex OAuth2 strategy for OmniAuth.

Sponsored by Evrone

Getting Started

Prerequisites

This gem require OmniAuth

But you no need add gem 'omniauth'.

This gem already added.

Installation

gem "omniauth-yandex"

Register new app for sync on yandex:

  1. Obtain API key for your app at Yandex OAuth app registration page
  2. Enter callback url for auth

  1. Select service and its data for auth

Usage

  1. Add to omniauth.rb yandex provider:

     Rails.application.config.middleware.use OmniAuth::Builder do
         provider :yandex, ENV['YANDEX_ID'], ENV['YANDEX_PASSWORD']
     end
    
  2. Add route

     get '/auth/:provider/callback', to: 'sessions#create'
    
  3. Create SessionController

note: This controller only as example how to create user by callback
    class SessionsController < ApplicationController
      def create
        @user = User.find_or_create_from_auth_hash(auth_hash)
        redirect_to '/'
      end
    
      protected
    
      def auth_hash
        request.env['omniauth.auth']
      end
    end
  1. Run rails server and open page

    localhost:3000/auth/yandex

  2. Sign In yandex by own username and password

  3. Take app permissions:

Contributing

Please read Code of Conduct and Contributing Guidelines for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Changelog

The changelog is here.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License.

Acknowledgments

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].