• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Yandex Login for Chevereto 3.8.6 | Авторизация через Яндекс

Denpa

Chevereto Member
d9uv.png

Русская версия ниже, под английской.

Hi! Long time no see.

I decided to share something small that I created for my friend's pet project.
This will probably be mostly interesting for Russian part of community but I'll also write this description in English just in case.

Introduction
Yandex(https://yandex.ru) is most popular search engine and second most used email provider in Russia and this mod allows your users to login in to chevereto using their Yandex account.

It supports full range of chevereto's social login features such as registering new user, logging in, binding account to already existing user, user avatar and admin dashboard settings.

This mod uses Yandex API full documentation for which is available at https://tech.yandex.com/oauth/ and Yandex PHP Library available at https://github.com/nixsolutions/yandex-php-library.

Demo
You can check out fully-functioning version at https://corgi.party/

Download
Sadly the file was too big for attachement, so here's link:
https://github.com/denpamusic/cheve...oad/v3.8.6/chevereto-yandex-oauth-3.8.6-3.zip

Installation
1. Carefully read README.TXT! (don't worry it's short)
2. Copy contents of chevereto directory from mod archive to your chevereto installation, replacing existing files.
3. Login as admin and go to http://yoursite.com/yandex-install (don't forget to change yoursite.com to your actual website address) - this is needed to create required settings in DB.
4. Create new application on https://oauth.yandex.com/client/new. Please see yandex-oauth-en.png file in mod archive for required permissions.
5. Enable Yandex in Social Networks section of chevereto's Dashboard and paste Client ID and Secret that you got on previous step.
6. Enjoy!

License:
Licensed under BSD, MIT and Chevereto Licenses.

=========================================================================
Russian version:

Введение
Данный мод реализует социальный вход через Яндекс.

Доступна регистрация через Яндекс(имя пользователя, полное имя, email без необходимости подтверждения и аватар получаются из Яндекса), вход через Яндекс, привязка аккаунта Яндекс к имеющемуся пользователю и настройки в Панели управления chevereto.

Мод использует библиотеку Yandex PHP Library https://github.com/nixsolutions/yandex-php-library и Яндекс.Паспорт API, описание которого можно посмотреть на https://tech.yandex.ru/oauth/.

Демонстрация

Посмотреть рабочую версию можно на https://corgi.party/

Скачать
Файл получился слишком большой для вложения, поэтому вот ссылка:
https://github.com/denpamusic/chevereto-yandex-oauth/releases

Установка
1. Внимательно прочитайте README.TXT. (он короткий)
2. Скопируйте содержимое папки chevereto из архива мода в корень сайта на вашем сервере.
3. Войдите на сайт, как администратор и перейдите по адресу http://вашсайт.ru/yandex-install, заменив вашсайт.ru на адрес вашего сайта. Это необходимо, чтобы внести необходимые для работы плагина изменения в БД.
4. Создайте новое приложение по адресу https://oauth.yandex.ru/client/new. Необходимые настройки смотрите в файле yandex-oauth-ru.png в архиве мода.
5. Включите Яндекс в разделе Социальные сети в Панели управления сайтом и внесите туда полученные на предыдущем шаге ID и пароль.
6. Готово!

Лицензия
Комбинация лицензий BSD, MIT и Chevereto.
 
Last edited:
Hope you are OK if I take this and include it in the official release?
 
Thanks!

Actually in the meantime I also created Windows Live social login.
With Windows 10 it seems that more and more will be having this account
since Microsoft is basically forcing it during installation.

Here it is(probably won't be creating separate thread for it):
https://github.com/denpamusic/chevereto-live-oauth/releases/tag/v3.8.6-1

This one is based on https://github.com/stevenmaguire/oauth2-microsoft/ which I neatly packed in .phar archive along with all dependencies.

This will be last of social stuff as login window starting to look a tad bit messy ;)

edit. This is a bit better... probably
dbHq.png
 
Last edited:
Yes, it starts to look a bit messy in that window. But Yandex and Microsoft login would be a nice feature :)
 
Good job :) When will this be officially implemented, @Rodolfo ?
I found that this implementation uses a phar file which is about 2MB meaning that for every login via Yandex your server will waste memory in handle that file. Is not ideal to me so I will use the composer stuff and since I will do it in that way, I will add every external stuff as a composer dependency.

In short, everything in /vendor will change so I won't be add this anytime soon.
 
Last edited:
I totaly agree, phar file here is not ideal.

On my server I use composer to regenerate autoloader in chevereto's vendor, but for a mod like this I will either need to provide
the whole vendor directory of chevereto with mod for it to work or write a guide on how to use composer which in turn require from user
at least basic unix knowledge.
So I used phar for ease of distribution.
 
Back
Top