| Summary | This plugin enables OAuth2 login via Yandex ID for your Discourse forum, allowing users to authenticate seamlessly using their Yandex accounts. | |
| Repository Link | GitHub - kaktaknet/discourse-yandex-oauth: π Yandex ID Authentication for Discourse. OAuth2 authentication plugin for Discourse using Yandex ID | |
| Install Guide | How to install plugins in Discourse |
Features
- Secure OAuth 2.0 authentication flow with Yandex ID
- One-click user login and automatic account creation
- Email verification via Yandex
- Avatar import from Yandex profile
- Account linking by email
- Username sanitization and validation
- Comprehensive error handling and detailed logging
- Multilingual support (English, Russian)
- Easy integration with simple setup and clear documentation
Configuration
-
Register your application on Yandex OAuth
- Visit Yandex OAuth, create a new application.
- Add your Discourse siteβs callback URL:
https://your-discourse-domain.com/auth/yandex/callback - Enable the following permissions:
login:emaillogin:infologin:avatar
-
Add the plugin to your container
- Follow standard Discourse Plugin Installation instructions and add the plugin repo to
hooks.after_codein yourapp.yml.
- Follow standard Discourse Plugin Installation instructions and add the plugin repo to
-
Rebuild your Discourse app
cd /var/discourse
./launcher rebuild app
- Configure settings in the Discourse Admin panel
- Navigate to: Admin > Settings > Login > Yandex
- Fill in the required fields using the Client ID and Secret provided by Yandex OAuth.
Settings
| Name | Description |
|---|---|
yandex_enabled |
Enable or disable Yandex authentication |
yandex_client_id |
OAuth Client ID from your Yandex App |
yandex_client_secret |
OAuth Client Secret from your Yandex App |
yandex_email_verified |
Trust email verification from Yandex |